$80:BF67: Difference between revisions
Content deleted Content added
Piranhaplant (talk | contribs) Created page with "{{Infobox ROM address|length=0x61|type=Code|name=touchingSpriteSolidToMonsters|description=Gets whether the given position is touching a sprite that is solid to monsters|args=A = [pointer16] current sprite<br/>X = [int16] X position<br/>Y = [int16] Y position<br/>Returns C = [boolean] Whether it's solid|ret_type=RTL}} 'current sprite' will be ignored when checking for solid sprites. This is so a sprite does not collide with itself." |
Piranhaplant (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox ROM address|length=0x61|type=Code|name=touchingSpriteSolidToMonsters|description=Gets whether the given position is touching a sprite that is solid to monsters|args=A = [pointer16] |
{{Infobox ROM address|length=0x61|type=Code|name=touchingSpriteSolidToMonsters|description=Gets whether the given position is touching a sprite that is solid to monsters|args=A = [pointer16] Current sprite<br/>X = [int16] X position<br/>Y = [int16] Y position<br/>Returns C = [boolean] Whether it's solid|ret_type=RTL}} |
||
'current sprite' will be ignored when checking for solid sprites. This is so a sprite does not collide with itself. |
'current sprite' will be ignored when checking for solid sprites. This is so a sprite does not collide with itself. |
Latest revision as of 20:20, 11 July 2024
ROM address data | |
---|---|
Length | 0x61 |
Type | Code |
Name | touchingSpriteSolidToMonsters |
Description | Gets whether the given position is touching a sprite that is solid to monsters |
Arguments/Return value | A = [pointer16] Current sprite X = [int16] X position Y = [int16] Y position Returns C = [boolean] Whether it's solid |
Return type | RTL |
'current sprite' will be ignored when checking for solid sprites. This is so a sprite does not collide with itself.