Difference between revisions of "Sprites"

From TLoZ: ALTTP Hacking Resources
Jump to: navigation, search
(Damage Table)
Line 27: Line 27:
 
*$12 - [[Moblin]]
 
*$12 - [[Moblin]]
 
*$13 - [[Mini Helmasaur]]
 
*$13 - [[Mini Helmasaur]]
*$14 - Gargoyle's Domain Gate
+
*$14 - [[Gargoyle's Domain Gate]]
 
*$15 - [[Antifairy]]
 
*$15 - [[Antifairy]]
 
*$16 - [[Sahasrahla / Aginah]]
 
*$16 - [[Sahasrahla / Aginah]]
*$17 - Water Bubbles?
+
*$17 - [[Bush Hoarder]]
 
*$18 - [[Mini Moldorm]]
 
*$18 - [[Mini Moldorm]]
 
*$19 - [[Poe]]
 
*$19 - [[Poe]]
Line 44: Line 44:
 
*$23 - [[Red Bari]]
 
*$23 - [[Red Bari]]
 
*$24 - [[Blue Bari]]
 
*$24 - [[Blue Bari]]
*$25 - Tree you can talk to?
+
*$25 - [[Talking Tree]]
 
*$26 - [[Hardhat Beetle]]
 
*$26 - [[Hardhat Beetle]]
 
*$27 - [[Deadrock]]
 
*$27 - [[Deadrock]]
Line 52: Line 52:
 
*$2B - [[Sprite $2B|Multipurpose Sprite]]
 
*$2B - [[Sprite $2B|Multipurpose Sprite]]
 
*$2C - [[Lumberjacks]]
 
*$2C - [[Lumberjacks]]
*$2D - Telepathic stones?  
+
*$2D - Telepathic stones? (No idea what this actually is, likely unused)
 
*$2E - Flute Boy�s Notes  
 
*$2E - Flute Boy�s Notes  
 
*$2F - [[Race HP NPCs]]
 
*$2F - [[Race HP NPCs]]
 
*$30 - Person?
 
*$30 - Person?
*$31 - Fortune Teller / Dwarf swordsmith
+
*$31 - [[Fortune Teller]]
*$32 - ??? (something with a turning head)
+
*$32 - [[Angry Brothers]]
 
*$33 - [[Pull For Rupees Sprite]]
 
*$33 - [[Pull For Rupees Sprite]]
 
*$34 - [[Scared Girl 2]]
 
*$34 - [[Scared Girl 2]]
Line 67: Line 67:
 
*$3A - [[Half Magic Bat]]
 
*$3A - [[Half Magic Bat]]
 
*$3B - [[Dash Item]]
 
*$3B - [[Dash Item]]
*$3C - Kid in village near the trough
+
*$3C - [[Village Kid]]
 
*$3D - Signs? Chicken lady also showed up / Scared ladies outside houses.
 
*$3D - Signs? Chicken lady also showed up / Scared ladies outside houses.
 
*$3E - [[Rock Hoarder]]
 
*$3E - [[Rock Hoarder]]
*$3F - Tutorial Soldiers from beginning of game
+
*$3F - [[Tutorial Soldier]]
 
*$40 - [[Lightning Lock]]
 
*$40 - [[Lightning Lock]]
 
*$41 - [[Blue Sword Soldier]] / Used by guards to detect player
 
*$41 - [[Blue Sword Soldier]] / Used by guards to detect player
Line 76: Line 76:
 
*$43 - [[Red Spear Soldier]]
 
*$43 - [[Red Spear Soldier]]
 
*$44 - [[Assault Sword Soldier]]
 
*$44 - [[Assault Sword Soldier]]
*$45 - Crazy Red Spear Soldiers (And green ones in the village)
+
*$45 - [[Green Spear Soldier]]
 
*$46 - [[Blue Archer]]
 
*$46 - [[Blue Archer]]
 
*$47 - [[Green Archer]]
 
*$47 - [[Green Archer]]
 
*$48 - [[Red Javelin Soldier]]
 
*$48 - [[Red Javelin Soldier]]
*$49 - Red Spear Soldiers (in the bushes)
+
*$49 - [[Red Javelin Soldier 2]]
 
*$4A - [[Red Bomb Soldiers]]  
 
*$4A - [[Red Bomb Soldiers]]  
 
*$4B - [[Green Soldier Recruits]]
 
*$4B - [[Green Soldier Recruits]]
Line 87: Line 87:
 
*$4E - [[Popo]]
 
*$4E - [[Popo]]
 
*$4F - [[Popo 2]]
 
*$4F - [[Popo 2]]
*$50 - Metal Balls (in Eastern Palace)
+
*$50 - [[Cannon Balls]]
 
*$51 - [[Armos]]
 
*$51 - [[Armos]]
 
*$52 - [[Giant Zora]]
 
*$52 - [[Giant Zora]]
Line 115: Line 115:
 
*$6A - [[Ball N' Chain Trooper]]
 
*$6A - [[Ball N' Chain Trooper]]
 
*$6B - [[Cannon Soldier]]
 
*$6B - [[Cannon Soldier]]
*$6C - Warp Vortex created by Magic Mirror
+
*$6C - [[Mirror Portal]]
 
*$6D - [[Rat]]
 
*$6D - [[Rat]]
 
*$6E - [[Rope]]
 
*$6E - [[Rope]]
Line 122: Line 122:
 
*$71 - [[Leever]]
 
*$71 - [[Leever]]
 
*$72 - Activator for the ponds (where you throw in items)
 
*$72 - Activator for the ponds (where you throw in items)
*$73 - Link�s Uncle / Sage / Barrier that opens in the sanctuary
+
*$73 - [[Uncle / Priest]]
*$74 - Red Hat Boy who runs from you
+
*$74 - [[Running Man]]
 
*$75 - [[Bottle Salesman]]
 
*$75 - [[Bottle Salesman]]
 
*$76 - [[Princess Zelda]]
 
*$76 - [[Princess Zelda]]
 
*$77 - [[Antifairy (Alternate)]]
 
*$77 - [[Antifairy (Alternate)]]
*$78 - Village Elder  
+
*$78 - [[Village Elder]]
 
*$79 - [[Bee]]
 
*$79 - [[Bee]]
 
*$7A - [[Agahnim]]
 
*$7A - [[Agahnim]]
 
*$7B - [[Agahnim Energy Ball]]
 
*$7B - [[Agahnim Energy Ball]]
 
*$7C - [[Hyu]]
 
*$7C - [[Hyu]]
*$7D - 32x32 Pixel Yellow Spike Traps
+
*$7D - [[Big Spike Trap]]
 
*$7E - [[Guruguru Bar (Clockwise)]]
 
*$7E - [[Guruguru Bar (Clockwise)]]
 
*$7F - [[Guruguru Bar (Counter Clockwise)]]
 
*$7F - [[Guruguru Bar (Counter Clockwise)]]
 
*$80 - [[Winder]]
 
*$80 - [[Winder]]
 
*$81 - [[Water Tektite]]  
 
*$81 - [[Water Tektite]]  
*$82 - Swirling Fire Faeries (Eastern Palace)
+
*$82 - [[Antifairy Circle]]
 
*$83 - [[Green Eyegore]]
 
*$83 - [[Green Eyegore]]
 
*$84 - [[Red Eyegore]]
 
*$84 - [[Red Eyegore]]
*$85 - Yellow Stalfos (drops to the ground, dislodges head)
+
*$85 - [[Yellow Stalfos]]
 
*$86 - [[Kodongos]]
 
*$86 - [[Kodongos]]
*$87 - Flames  
+
*$87 - [[Flames]]
 
*$88 - [[Mothula (Boss)]]
 
*$88 - [[Mothula (Boss)]]
*$89 - Mothula's beam
+
*$89 - [[Mothula's Beam]]
*$8A - Key holes?/ Spikes that move
+
*$8A - [[Spike Trap]]
 
*$8B - [[Gibdo]]
 
*$8B - [[Gibdo]]
 
*$8C - [[Arrghus (Boss)]]
 
*$8C - [[Arrghus (Boss)]]
 
*$8D - Arrghus spawn
 
*$8D - Arrghus spawn
 
*$8E - [[Terrorpin]]
 
*$8E - [[Terrorpin]]
*$8F - [[Slime]]  
+
*$8F - [[Slime]]
*$90 - Grabber things?
+
*$90 - [[Wallmaster]]
 
*$91 - [[Stalfos Knight]]
 
*$91 - [[Stalfos Knight]]
 
*$92 - [[Helmasaur King]]
 
*$92 - [[Helmasaur King]]
 
*$93 - [[Bumper]]
 
*$93 - [[Bumper]]
 
*$94 - Swimmers
 
*$94 - Swimmers
*$95 - Eye laser
+
*$95 - [[Eye Laser (Right)]]
*$96 - Eye laser
+
*$96 - [[Eye Laser (Left)]]
*$97 - Eye laser
+
*$97 - [[Eye Laser (Down)]]
*$98 - Eye laser
+
*$98 - [[Eye Laser (Up)]]
 
*$99 - [[Pengator]]
 
*$99 - [[Pengator]]
 
*$9A - [[Kyameron]]
 
*$9A - [[Kyameron]]
Line 165: Line 165:
 
*$9C - Tadpoles
 
*$9C - Tadpoles
 
*$9D - Tadpoles
 
*$9D - Tadpoles
*$9E - The ostrich animal w/ the flute boy?
+
*$9E - [[Ostrich (Haunted Grove)]]
 
*$9F - [[Flute]]
 
*$9F - [[Flute]]
*$A0 - Birds w/ the flute boy?
+
*$A0 - [[Birds (Haunted Grove)]]
 
*$A1 - [[Freezor]]
 
*$A1 - [[Freezor]]
 
*$A2 - [[Kholdstare (Boss)]]
 
*$A2 - [[Kholdstare (Boss)]]
Line 174: Line 174:
 
*$A5 - [[Zazak Fireball]]
 
*$A5 - [[Zazak Fireball]]
 
*$A6 - [[Red Zazak]]
 
*$A6 - [[Red Zazak]]
*$A7 - Red Stalfos Skeleton
+
*$A7 - [[Stalfos]]
 
*$A8 - Bomber Flying Creatures from Darkworld  
 
*$A8 - Bomber Flying Creatures from Darkworld  
 
*$A9 - Bomber Flying Creatures from Darkworld  
 
*$A9 - Bomber Flying Creatures from Darkworld  
Line 181: Line 181:
 
*$AC - [[Apple]]
 
*$AC - [[Apple]]
 
*$AD - [[Lost Old Man]]
 
*$AD - [[Lost Old Man]]
*$AE - Down Pipe  
+
*$AE - Down Pipe
*$AF - Up Pipe  
+
*$AF - Up Pipe
*$B0 - Right Pipe
+
*$B0 - Right Pip
 
*$B1 - Left Pipe
 
*$B1 - Left Pipe
 
*$B2 - Good bee again?
 
*$B2 - Good bee again?

Revision as of 01:30, 14 April 2016

Important Hex Addresses

HP Table

The sprite HP table is located at $06B173. Each value is a single byte, so the offset is equal to the sprite id number as listed below. All values from $00 to $FF are viable for all sprites, but some cannot be damaged by any weapon without more complex tampering with ASM. The sprite's HP is loaded to an array at RAM address $7E0E50, where $10(decimal: 16) values can be loaded at once.

Damage Table

The sprite damage table is located at $06B266. Each value is a single byte, so the offset is equal to the sprite id number as listed below. There are a finite amount of damage types which all have a different set of damage values for each armor type. Not all damage types are compatible with all sprites.

Sprites