Set spreading Tile X and Y coordinates
Revision as of 12:56, 25 May 2023 by Orkney (talk | contribs) (Orkney moved page 001755e8 - 00175614 to Set spreading Tile X and Y coordinates)
BATTLE.BIN : Set Spreading Tile's X and Y coordinates ------------------------------------------------------------------ Parameters : Nothing Returns : Nothing ------------------------------------------------------------------ 001755e8: 3c028019 lui r2,0x8019 | 001755ec: 8c42f4e4 lw r2,-0x0b1c(r2) |Pointer to Scratch Pad at 0x1f800180 Pointer at 8018f4e4 001755f0: 00000000 nop | 001755f4: 94430026 lhu r3,0x0026(r2) |Load Origin Tile's X 001755f8: 9445003a lhu r5,0x003a(r2) |Load Spreading X mod 001755fc: 94440028 lhu r4,0x0028(r2) |Load Origin Tile's Y 00175600: 9446003c lhu r6,0x003c(r2) |Load Spreading Y mod 00175604: 00651821 addu r3,r3,r5 | 00175608: 00862021 addu r4,r4,r6 | 0017560c: a4430030 sh r3,0x0030(r2) |Store Spreading Tile's X 00175610: 03e00008 jr r31 | 00175614: a4440032 sh r4,0x0032(r2) |Store Spreading Tile's Y
Return Locations
BATTLE.BIN 00175f20: 00175ea0_-_00175fa0 00176570: 001764d8_-_001766b0 00177a54: 001779dc_-_00177b60 00177c98: 00177c08_-_00177e60