$80:8248: Difference between revisions

47 bytes added ,  1 month ago
no edit summary
(Created page with "{{Infobox ROM address|length=0x16|type=Code|name=createPlayerEntity|description=Creates an entity for a player|args=Y+A = Entity pointer|ret_type=RTL}} This is the same as $80:825E, but with the following differences: * Searches entity slots in forward order instead of reverse. This will guarantee that the two player entities are in the first two slots. ** This was possibly meant to guarantee player entities get assigned a direct page with a zero low byte for fa...")
 
No edit summary
Line 1:
{{Infobox ROM address|length=0x16|type=Code|name=createPlayerEntity|description=Creates an [[entity]] for a player|args=Y+A = [pointer32] Entity pointer<br/>Return A = [unit16] Entity ID|ret_type=RTL}}
 
This is the same as [[$80:825E]], but with the following differences: