$80:825E: Difference between revisions

Content deleted Content added
Created page with "{{Infobox ROM address|length=0x80|type=Code|name=createEntity|description=Creates an entity|args=Y+A = [pointer32] Entity pointer<br/>Return A = [uint16] Entity ID|ret_type=RTL}} Note: This will return 0 if there are no empty entity slots available. 0 is technically a valid entity ID, but this ID will always be used for the first player entity (see $80:8248). Category:ROM address"
 
No edit summary
Line 1:
{{Infobox ROM address|length=0x80|type=Code|name=createEntity|description=Creates an [[entity]]|args=Y+A = [pointer32] Entity pointer<br/>ReturnReturns A = [uint16] Entity ID|ret_type=RTL}}
 
Note: This will return 0 if there are no empty entity slots available. 0 is technically a valid entity ID, but this ID will always be used for the first player entity (see [[$80:8248]]).