Difference between revisions of "Initialize Units Coordinates, Animation, Facing"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00069e68: 27bdffe8 addiu r29,r29,0xffe8 00069e6c: afb00010 sw r16,0x0010(r29) 00069e70: 00808021 addu r16,r4,r0 00069e74: 3402003c ori r2,r0,0x...") |
|||
Line 1: | Line 1: | ||
<font face='Courier New'> | <font face='Courier New'> | ||
+ | Initialize Units Coordinates, Animation, Facing 69e68: [[00069e68 - 00069edc]] | ||
− | 00069e68: 27bdffe8 addiu r29,r29,0xffe8 | + | 00081978: [[Store unit animation and facing value]] |
− | 00069e6c: afb00010 sw r16,0x0010(r29) | + | |
+ | 00069e68: 27bdffe8 addiu r29,r29,0xffe8 | ||
+ | 00069e6c: afb00010 sw r16,0x0010(r29) Store 0x0 onto Stack | ||
00069e70: 00808021 addu r16,r4,r0 | 00069e70: 00808021 addu r16,r4,r0 | ||
− | 00069e74: 3402003c ori r2,r0,0x003c | + | 00069e74: 3402003c ori r2,r0,0x003c r2 = (0x3C) 60 |
− | 00069e78: 3404003c ori r4,r0,0x003c | + | 00069e78: 3404003c ori r4,r0,0x003c r4 = (0x3C) 60 |
− | 00069e7c: afbf0014 sw r31,0x0014(r29) | + | 00069e7c: afbf0014 sw r31,0x0014(r29) Store 0x0 onto Stack |
− | 00069e80: 86050070 lh r5,0x0070(r16) | + | 00069e80: 86050070 lh r5,0x0070(r16) Load Current Facing? (/ 0x400 = facing) |
00069e84: 02003021 addu r6,r16,r0 | 00069e84: 02003021 addu r6,r16,r0 | ||
− | 00069e88: 0c02065e jal 0x00081978 | + | 00069e88: 0c02065e jal 0x00081978 [[Store unit animation and facing value]] |
− | 00069e8c: a202007f sb r2,0x007f(r16) | + | 00069e8c: a202007f sb r2,0x007f(r16) Store ?? |
− | 00069e90: 9203009c lbu r3,0x009c(r16) | + | 00069e90: 9203009c lbu r3,0x009c(r16) Load Use 0x9d - 0x9f coordinates for initialization? |
− | 00069e94: 340200fe ori r2,r0,0x00fe | + | 00069e94: 340200fe ori r2,r0,0x00fe r2 = (0xFE) 254 |
− | 00069e98: 14620006 bne r3,r2,0x00069eb4 | + | 00069e98: 14620006 bne r3,r2,0x00069eb4 Branch if Use 0x9d - 0x9f coordinates for initialization? != FE (254) |
00069e9c: 00000000 nop | 00069e9c: 00000000 nop | ||
− | 00069ea0: 9202009d lbu r2,0x009d(r16) | + | 00069ea0: 9202009d lbu r2,0x009d(r16) Load Unit's X Coordinate Initialization? |
− | 00069ea4: 9203009e lbu r3,0x009e(r16) | + | 00069ea4: 9203009e lbu r3,0x009e(r16) Load Unit's Y Coordinate Initialization? |
− | 00069ea8: 9204009f lbu r4,0x009f(r16) | + | 00069ea8: 9204009f lbu r4,0x009f(r16) Load Unit's Map Level Initialization? |
− | 00069eac: 0801a7b1 j 0x00069ec4 | + | 00069eac: 0801a7b1 j 0x00069ec4 |
− | 00069eb0: a2020080 sb r2,0x0080(r16) | + | 00069eb0: a2020080 sb r2,0x0080(r16) Store Unit's X Coordinate (Current location?) |
− | 00069eb4: 9202007c lbu r2,0x007c(r16) | + | 00069eb4: 9202007c lbu r2,0x007c(r16) Load Unit's X Coordinate initialized to ENTD (current location?) |
− | 00069eb8: 9203007d lbu r3,0x007d(r16) | + | 00069eb8: 9203007d lbu r3,0x007d(r16) Load Unit's Y Coordinate |
− | 00069ebc: 9204007e lbu r4,0x007e(r16) | + | 00069ebc: 9204007e lbu r4,0x007e(r16) Load Unit's Map Level (0 = Floor 1, 1 = Floor 2) |
− | 00069ec0: a2020080 sb r2,0x0080(r16) | + | 00069ec0: a2020080 sb r2,0x0080(r16) Store Unit's X Coordinate (Current location?) |
− | 00069ec4: a2030081 sb r3,0x0081(r16) | + | 00069ec4: a2030081 sb r3,0x0081(r16) Store Unit's Y Coordinate |
− | 00069ec8: a2040082 sb r4,0x0082(r16) | + | 00069ec8: a2040082 sb r4,0x0082(r16) Store Unit's Map Level + flags (with 0x83 byte) |
− | 00069ecc: 8fbf0014 lw r31,0x0014(r29) | + | 00069ecc: 8fbf0014 lw r31,0x0014(r29) Load Stack + 0x14 |
− | 00069ed0: 8fb00010 lw r16,0x0010(r29) | + | 00069ed0: 8fb00010 lw r16,0x0010(r29) Load Stack + 0x10 |
− | 00069ed4: 27bd0018 addiu r29,r29,0x0018 | + | 00069ed4: 27bd0018 addiu r29,r29,0x0018 |
− | 00069ed8: 03e00008 jr r31 | + | 00069ed8: 03e00008 jr r31 Jump to Address |
00069edc: 00000000 nop | 00069edc: 00000000 nop | ||
− | </font> | + | |
+ | |||
+ | </font> |
Revision as of 19:40, 12 February 2015
Initialize Units Coordinates, Animation, Facing 69e68: 00069e68 - 00069edc
00081978: Store unit animation and facing value 00069e68: 27bdffe8 addiu r29,r29,0xffe8 00069e6c: afb00010 sw r16,0x0010(r29) Store 0x0 onto Stack 00069e70: 00808021 addu r16,r4,r0 00069e74: 3402003c ori r2,r0,0x003c r2 = (0x3C) 60 00069e78: 3404003c ori r4,r0,0x003c r4 = (0x3C) 60 00069e7c: afbf0014 sw r31,0x0014(r29) Store 0x0 onto Stack 00069e80: 86050070 lh r5,0x0070(r16) Load Current Facing? (/ 0x400 = facing) 00069e84: 02003021 addu r6,r16,r0 00069e88: 0c02065e jal 0x00081978 Store unit animation and facing value 00069e8c: a202007f sb r2,0x007f(r16) Store ?? 00069e90: 9203009c lbu r3,0x009c(r16) Load Use 0x9d - 0x9f coordinates for initialization? 00069e94: 340200fe ori r2,r0,0x00fe r2 = (0xFE) 254 00069e98: 14620006 bne r3,r2,0x00069eb4 Branch if Use 0x9d - 0x9f coordinates for initialization? != FE (254) 00069e9c: 00000000 nop 00069ea0: 9202009d lbu r2,0x009d(r16) Load Unit's X Coordinate Initialization? 00069ea4: 9203009e lbu r3,0x009e(r16) Load Unit's Y Coordinate Initialization? 00069ea8: 9204009f lbu r4,0x009f(r16) Load Unit's Map Level Initialization? 00069eac: 0801a7b1 j 0x00069ec4 00069eb0: a2020080 sb r2,0x0080(r16) Store Unit's X Coordinate (Current location?) 00069eb4: 9202007c lbu r2,0x007c(r16) Load Unit's X Coordinate initialized to ENTD (current location?) 00069eb8: 9203007d lbu r3,0x007d(r16) Load Unit's Y Coordinate 00069ebc: 9204007e lbu r4,0x007e(r16) Load Unit's Map Level (0 = Floor 1, 1 = Floor 2) 00069ec0: a2020080 sb r2,0x0080(r16) Store Unit's X Coordinate (Current location?) 00069ec4: a2030081 sb r3,0x0081(r16) Store Unit's Y Coordinate 00069ec8: a2040082 sb r4,0x0082(r16) Store Unit's Map Level + flags (with 0x83 byte) 00069ecc: 8fbf0014 lw r31,0x0014(r29) Load Stack + 0x14 00069ed0: 8fb00010 lw r16,0x0010(r29) Load Stack + 0x10 00069ed4: 27bd0018 addiu r29,r29,0x0018 00069ed8: 03e00008 jr r31 Jump to Address 00069edc: 00000000 nop