Difference between revisions of "Set spreading Tile X and Y coordinates"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 001755e8: 3c028019 lui r2,0x8019 001755ec: 8c42f4e4 lw r2,-0x0b1c(r2) 001755f0: 00000000 nop 001755f4: 94430026 lhu r3,0x0026(r2) 001755f8: 94...") |
|||
Line 1: | Line 1: | ||
− | + | BATTLE.BIN : Set Spreading Tile's X and Y coordinates | |
− | + | ------------------------------------------------------------------ | |
− | 001755e8: 3c028019 lui r2,0x8019 | + | Parameters : Nothing |
− | 001755ec: 8c42f4e4 lw r2,-0x0b1c(r2) | + | Returns : Nothing |
− | 001755f0: 00000000 nop | + | ------------------------------------------------------------------ |
− | 001755f4: 94430026 lhu r3,0x0026(r2) | + | 001755e8: 3c028019 lui r2,0x8019 | |
− | 001755f8: 9445003a lhu r5,0x003a(r2) | + | 001755ec: 8c42f4e4 lw r2,-0x0b1c(r2) |{{f/adr|Pointer to Scratch Pad at 0x1f800180}} {{f/std| Pointer at 8018f4e4}} |
− | 001755fc: 94440028 lhu r4,0x0028(r2) | + | 001755f0: 00000000 nop | |
− | 00175600: 9446003c lhu r6,0x003c(r2) | + | 001755f4: 94430026 lhu r3,0x0026(r2) |{{f/load|Load Origin Tile's X}} |
− | 00175604: 00651821 addu r3,r3,r5 | + | 001755f8: 9445003a lhu r5,0x003a(r2) |{{f/load|Load Spreading X mod}} |
− | 00175608: 00862021 addu r4,r4,r6 | + | 001755fc: 94440028 lhu r4,0x0028(r2) |{{f/load|Load Origin Tile's Y}} |
− | 0017560c: a4430030 sh r3,0x0030(r2) | + | 00175600: 9446003c lhu r6,0x003c(r2) |{{f/load|Load Spreading Y mod}} |
− | 00175610: 03e00008 jr r31 | + | 00175604: 00651821 addu r3,r3,r5 | |
− | 00175614: a4440032 sh r4,0x0032(r2) | + | 00175608: 00862021 addu r4,r4,r6 | |
− | + | 0017560c: a4430030 sh r3,0x0030(r2) |{{f/store|Store Spreading Tile's X}} | |
+ | 00175610: 03e00008 jr r31 | | ||
+ | 00175614: a4440032 sh r4,0x0032(r2) |{{f/store|Store Spreading Tile's Y}} | ||
+ | === Return Locations === | ||
+ | '''BATTLE.BIN''' | ||
+ | 00175f20: [[00175ea0_-_00175fa0]] | ||
+ | 00176570: [[001764d8_-_001766b0]] | ||
+ | 00177a54: [[001779dc_-_00177b60]] | ||
+ | 00177c98: [[00177c08_-_00177e60]] |
Revision as of 12:55, 25 May 2023
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