$81:8000: Difference between revisions

From ZAMN Hacking
Content deleted Content added
Created page with "{{Infobox ROM address|length=0x24|type=Code|name=createMonsterSprite|description=Creates a sprite for a monster|ret_type=RTL}} The sprite pointer will be stored in $08. The sprite's X and Y positions will be set from the entity arguments. In addition, the sprite type will be set to 'None', and the parent entity ID will be set to the current entity."
 
No edit summary
 
Line 1: Line 1:
{{Infobox ROM address|length=0x24|type=Code|name=createMonsterSprite|description=Creates a sprite for a monster|ret_type=RTL}}
{{Infobox ROM address|length=0x24|type=Code|name=createMonsterSprite|description=Creates a sprite for a monster|args=None|ret_type=RTL}}


The sprite pointer will be stored in $08. The sprite's X and Y positions will be set from the entity arguments. In addition, the sprite type will be set to 'None', and the parent entity ID will be set to the current entity.
The sprite pointer will be stored in $08. The sprite's X and Y positions will be set from the entity arguments. In addition, the sprite type will be set to 'None', and the parent entity ID will be set to the current entity.

Latest revision as of 20:21, 11 July 2024

ROM address data
Length 0x24
Type Code
Name createMonsterSprite
Description Creates a sprite for a monster
Arguments/Return value None
Return type RTL

The sprite pointer will be stored in $08. The sprite's X and Y positions will be set from the entity arguments. In addition, the sprite type will be set to 'None', and the parent entity ID will be set to the current entity.