New pages
- 21:09, 23 June 2024 $81:8506 (hist | edit) [248 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x3C|type=Code|name=showDamageAnimation|description=Call from a monster's sprite collision handler to show a damage animation|args=Returns C = [boolean] Collision handler return value|ret_type=RTL}}")
- 21:05, 23 June 2024 $81:8561 (hist | edit) [132 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x2A|type=Data|name=weaponDamage|description=The base damage dealt by each weapon|args=uint16[21]}}")
- 20:59, 23 June 2024 $81:847E (hist | edit) [262 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x58|type=Code|name=freezeMonster|description=Call from a monster's sprite collision handler to cause it to be frozen|args=Returns C = [boolean] Collision handler return value|ret_type=RTL}}")
- 20:49, 23 June 2024 $81:83C6 (hist | edit) [264 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x3E|type=Code|name=bubbleMonster|description=Call from a monster's sprite collision handler to cause it to be bubbled|args=Returns C = [boolean] Collision handler return value|ret_type=RTL}}")
- 20:35, 23 June 2024 $81:83A3 (hist | edit) [257 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x23|type=Code|name=showMonsterDeath|description=Show monster death animation and play sound|args=A = [pointer16] Animation<br/>X = [uint16] Do nothing if not equal to 0xF5F5<br/>Y = [uint16] Sprite tile data bank|ret_type=RTL}}")
- 20:26, 23 June 2024 $80:C7D9 (hist | edit) [194 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x40|type=Code|name=givePoints|description=Awards points to the given character|args=N = [boolean] give to Julie<br/>A = [uint16] number of points|ret_type=RTL}}")
- 20:14, 23 June 2024 $80:B2A5 (hist | edit) [536 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x5D|type=Code|name=findClosestPlayer|description=Finds the closest player within the given distance on a single axis|args=A = [uint16] Maximum single-axis distance<br/>X = [int16] X position<br/>Y = [int16] Y position<br/>Returns A = [uint16] direction to player<br/>Returns X = [uint16] single-axis distance to player<br/>Returns Y = [pointer16] player sprite|ret_type=RTL}}")
- 20:00, 23 June 2024 $80:BF67 (hist | edit) [436 bytes] 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.")
- 19:52, 23 June 2024 $80:AE97 (hist | edit) [264 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x95|type=Code|name=bgSolidToMonsters|description=Gets whether the background is solid to monsters at the given position|args=X = [int16] X position<br/>Y = [int16] Y position<br/>Returns C = [boolean] Whether it's solid|ret_type=RTL}}")
- 19:16, 23 June 2024 $80:CC3B (hist | edit) [148 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x11|type=Code|name=playSound|description=Plays the given sound effect|args=A = [uint16] Sound effect ID|ret_type=RTL}}")
- 19:07, 23 June 2024 $81:8000 (hist | edit) [361 bytes] Piranhaplant (talk | contribs) (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.")
- 22:27, 22 June 2024 $80:BE41 (hist | edit) [149 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x3C|type=Code|name=deleteSprite|description=Deletes the given sprite|args=A = [pointer16] Sprite pointer|ret_type=RTL}}")
- 22:24, 22 June 2024 $81:8191 (hist | edit) [202 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x11|type=Code|name=removeOneShotEntity|description=Marks the given one-shot entity as no longer needing to be spawned|args=A = [uint16] One-shot entity index|ret_type=RTL}}")
- 21:58, 22 June 2024 $80:BE0C (hist | edit) [155 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x2F|type=Code|name=createSprite|description=Creates a sprite|args=Returns A/Y = [pointer16] Sprite pointer|ret_type=RTL}}")
- 01:30, 17 June 2024 $80:9D6A (hist | edit) [213 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x3C|type=Code|name=playerForCharacter|description=Gets the player that is using the given character|args=A = [character x2] Character<br/>Returns X = [uint16 x2] Player|ret_type=RTL}} Category:ROM address")
- 01:23, 17 June 2024 $80:9D39 (hist | edit) [167 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x22|type=Code|name=getRandomByte|description=Gets a random value in the range 0-255|args=Returns A = [uint16] Random value|ret_type=RTL}} Category:ROM address")
- 01:17, 17 June 2024 $80:9C72 (hist | edit) [188 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x1A|type=Code|name=fadeOutAsync|description=Fades the screen out to black asynchronously|args=None|ret_type=RTS}} Like $80:8933, but returns immediately. Category:ROM address")
- 01:15, 17 June 2024 $80:9C52 (hist | edit) [188 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x20|type=Code|name=fadeInAsync|description=Fades the screen in from black asynchronously|args=None|ret_type=RTS}} Like, $80:891A, but returns immediately. Category:ROM address")
- 00:54, 17 June 2024 $80:8933 (hist | edit) [196 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x14|type=Code|name=fadeOut|description=Fades the screen out to black|args=None|ret_type=RTL}} Category:ROM address")
- 00:51, 17 June 2024 $80:891A (hist | edit) [196 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x19|type=Code|name=fadeIn|description=Fades the screen in from black|args=None|ret_type=RTL}} Category:ROM address")
- 00:46, 17 June 2024 $80:8516 (hist | edit) [119 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0xB9|type=Code|name=playLevel|description=Plays the current level|args=None|ret_type=RTL}} Category:ROM address")
- 00:41, 17 June 2024 $80:84B1 (hist | edit) [101 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x65|type=Code|name=|description=Main game loop|args=None|ret_type=N/A}} Category:ROM address")
- 00:40, 17 June 2024 $80:8480 (hist | edit) [250 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x31|type=Code|name=runCollisionHandler|description=Runs the sprite collision handler for the given entity|args=X = [uint16] Entity ID<br/>Y = [sprite type] Type of sprite collided with|ret_type=RTL}} Category:ROM address")
- 00:37, 17 June 2024 $80:8475 (hist | edit) [215 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x0B|type=Code|name=setCollisionHandler|description=Sets the sprite collision handler for the current entity|args=Y+A = [pointer32] Handler subroutine|ret_type=RTL}} Category:ROM address")
- 00:34, 17 June 2024 $80:843D (hist | edit) [150 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x38|type=Code|name=runVBLANKEndListeners |description=Runs all the current VBLANK end listeners|args=None|ret_type=RTS}} Category:ROM address")
- 00:29, 17 June 2024 $80:8418 (hist | edit) [424 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x25|type=Code|name=runOnVBlankEnd|description=Creates a VBlank end listener |args=Y+A = [pointer32] Listener subroutine<br/>Returns X = [uint16] Listener ID |ret_type=RTL}} The given subroutine returns a value in the carry indicating if it should continue to run on the next frame. VBlank end listeners will be run after all VBlank listeners, and also after the controller input is processed. Category:ROM address")
- 00:22, 17 June 2024 $80:83E0 (hist | edit) [142 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x38|type=Code|name=runVBlankListeners|description=Runs all the current VBlank listeners|args=None|ret_type=RTS}} Category:ROM address")
- 00:18, 17 June 2024 $80:83D5 (hist | edit) [159 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x0B|type=Code|name=stopRunningOnVBlank|description=Deletes the given VBlank listener|args=A = [uint16] Listener ID|ret_type=RTL}} Category:ROM address")
- 00:14, 17 June 2024 $80:83AE (hist | edit) [303 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x27|type=Code|name=runOnVBlank|description=Creates a VBlank listener|args=Y+A = [pointer32] Listener subroutine<br/>Returns X = [uint16] Listener ID|ret_type=RTL}} The given subroutine returns a value in the carry indicating if it should continue to run on the next frame. Category:ROM address")
- 00:06, 17 June 2024 $80:8398 (hist | edit) [146 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x16|type=Code|name=|description=Decrements the number of frames left to wait on each entity|args=None|ret_type=RTS}} Category:ROM address")
- 00:04, 17 June 2024 $80:8353 (hist | edit) [526 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x45|type=Code|name=waitFrames|description=Pauses the current entity for the given number of frames|args=A = [uint16] Number of frames|ret_type=N/A}} Note: This subroutine also contains the code for the entity processing loop. The main game entry point ($80:80AE) and the entity return point ($80:833E) both jump to locations in the middle of this. Note: An entity may resume early if its collision handler forces i...")
- 23:56, 16 June 2024 $80:833E (hist | edit) [173 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x15|type=Code|description=Entities return here when completed. Deletes the current entity and resumes the entity loop.|args=None|ret_type=N/A}} Category:ROM address")
- 23:53, 16 June 2024 $80:830E (hist | edit) [240 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x30|type=Data|name=entityStacks|description=Starting stack address for each entity|args=pointer16[0x18]}} Note: The stack for each entity is the area [S - 0x25, S + 0x0B), where 'S' is the value in this table. Category:ROM address")
- 23:47, 16 June 2024 $80:82DE (hist | edit) [129 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x30|type=Data|name=entityDPs|description=Direct page address for each entity|args=pointer16[0x18]}} Category:ROM address")
- 16:08, 15 June 2024 $80:825E (hist | edit) [371 bytes] Piranhaplant (talk | contribs) (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")
- 16:01, 15 June 2024 $80:8248 (hist | edit) [779 bytes] Piranhaplant (talk | contribs) (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...")
- 15:48, 15 June 2024 $80:8246 (hist | edit) [101 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x02|type=Code|description=Unused infinite loop|args=None|ret_type=N/A}} Category:ROM address")
- 15:47, 15 June 2024 $80:820A (hist | edit) [188 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x3C|type=Code|name=deleteAllEntities|description=Deletes all entities (except the current entity) and VBlank listeners|args=None|ret_type=RTL}} Category:ROM address")
- 15:44, 15 June 2024 $80:8209 (hist | edit) [122 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=1|type=Code|description=Various interrupt handlers. Does nothing.|args=None|ret_type=RTI}} Category:ROM address")
- 19:51, 5 April 2024 ROM map (hist | edit) [418 bytes] Piranhaplant (talk | contribs) (Created page with "<DPL> category = ROM address include = {Infobox ROM address}:%PAGE%:length:type:description:args table = class="wikitable sortable",-,Address,Length,Type,Description,Arguments/Return value tablerow = data-sort-value="{{#invoke:Utils|ramAddress2dec|%%}}"|%%,data-sort-value="{{#invoke:Utils|hex2dec|%%}}"|%%,%%,%%,%% </DPL>")
- 19:50, 5 April 2024 $80:81F9 (hist | edit) [138 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x10|type=Data|description=Contains the direction (x2) for each d-pad input. (1 byte each)}} Category:ROM address")
- 19:46, 5 April 2024 $80:8179 (hist | edit) [152 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x80|type=Code|description=Default (and only) VBLANK handler|args=None}} See $7E:0000. Category:ROM address")
- 19:41, 5 April 2024 $80:816C (hist | edit) [117 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x0D|type=Code|description=VBLANK interrupt handler|args=None}} Category:ROM address")
- 19:31, 5 April 2024 $80:80AE (hist | edit) [169 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0xBE|type=Code|description=Main entry point of the game. Clears RAM and does various other initialization|args=None}} Category:ROM address")
- 19:25, 5 April 2024 $80:8002 (hist | edit) [123 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox ROM address|length=0x88|type=Code|description=Initialize various SNES hardware registers|args=None}} Category:ROM address")
- 00:11, 4 April 2024 Data types (hist | edit) [1,622 bytes] Piranhaplant (talk | contribs) (Created page with "== Basic data types == * '''byte''': An 8-bit unsigned integer * '''uint16''': A 16-bit unsigned integer * '''int16''': A 16-bit two's compliment signed integer * '''uint32''': A 32-bit unsigned integer * '''pointer16''': A 16-bit pointer * '''pointer32''': A 32-bit pointer * '''boolean''': A value of zero indicates false, any other value indicates true * '''type[X]''': An array containing X elements of 'type' * '''unused''': The data is unused and therefore has no type...")
- 23:40, 3 April 2024 Bat (hist | edit) [4,951 bytes] Piranhaplant (talk | contribs) (Created page with "{{Infobox Entity|entity_pointer=$82:F03E}} The bat is an entity that is spawned by vampires. == Behavior == A bat starts out moving in a given direction specified in the entity arguments. The initial velocity of the bat is 6 px/frame in this direction. If the direction is diagonal, the velocity is 6 px/frame on both axes. Every frame, the bat will accelerate towards the nearest target at a rate of 1 px/frame<sup>2</sup>, but its speed will not exceed 6 px/frame. Af...")
- 19:42, 3 April 2024 Necrofy project (hist | edit) [3,723 bytes] Piranhaplant (talk | contribs) (Created page with " == Asset filename format == name.skip@pointer#.extension * '''name''': The name the will be used to reference the asset * '''.skip''' (optional): If this is present, the asset will be excluded from the build. * '''@pointer''' (optional): If this is present, the asset will be inserted at the specified location when building. "pointer" is a 6-digit hexadecimal PC address. * '''#''' (optional): If this is present, the file will be compressed before inserting when buildi...")
- 19:32, 2 April 2024 Getting started tutorial (hist | edit) [3,522 bytes] Piranhaplant (talk | contribs) (Created page with "This tutorial will cover the basic steps necessary to get started using Necrofy to create your own custom Zombies Ate My Neighbors levels. == Things to download == # '''The Necrofy level editor.''' This is the main tool that can be used to edit levels and other things inside of Zombies Ate My Neighbors. https://github.com/Piranhaplant/Necrofy/releases # '''A USA version Zombies Ate My Neighbors ROM.''' The No-Intro SNES ROM set is a good place to find this. https://arc...")