Difference between revisions of "Initialize some AI Data (mount, base hit %)"
Jump to navigation
Jump to search
m (Choto moved page 00195f6c - 00195f88 to Initialize some AI Data (mount, base hit %)) |
m |
||
Line 1: | Line 1: | ||
<font face='Courier New'> | <font face='Courier New'> | ||
Initialize some AI Data (mount, base hit %) 195f6c: [[00195f6c - 00195f88]] | Initialize some AI Data (mount, base hit %) 195f6c: [[00195f6c - 00195f88]] | ||
+ | |||
+ | r4 = AI Data Offset (19f3c4) + 0x0054 or 19f418 | ||
00195f6c: 24028001 addiu r2,r0,0x8001 | 00195f6c: 24028001 addiu r2,r0,0x8001 | ||
− | 00195f70: a482001e sh r2,0x001e(r4) Store | + | 00195f70: a482001e sh r2,0x001e(r4) Store 8001 (Default Target Priority) to 0x0072 (19f436) |
− | 00195f74: 34020005 ori r2,r0,0x0005 r2 = | + | 00195f74: 34020005 ori r2,r0,0x0005 r2 = 5 |
− | 00195f78: a080001c sb r0,0x001c(r4) | + | 00195f78: a080001c sb r0,0x001c(r4) Initialize Mount Info? (I have no idea what this is supposed to represent) |
− | 00195f7c: a080001d sb r0,0x001d(r4) | + | 00195f7c: a080001d sb r0,0x001d(r4) Initialize Base Hit% |
− | 00195f80: a0820003 sb r2,0x0003(r4) | + | 00195f80: a0820003 sb r2,0x0003(r4) Save 5 to 0x0057 |
00195f84: 03e00008 jr r31 Jump to Address | 00195f84: 03e00008 jr r31 Jump to Address | ||
− | 00195f88: a0800001 sb r0,0x0001(r4) | + | 00195f88: a0800001 sb r0,0x0001(r4) Initialize 0x0055 |
</font> | </font> |
Revision as of 00:56, 29 March 2017
Initialize some AI Data (mount, base hit %) 195f6c: 00195f6c - 00195f88
r4 = AI Data Offset (19f3c4) + 0x0054 or 19f418
00195f6c: 24028001 addiu r2,r0,0x8001 00195f70: a482001e sh r2,0x001e(r4) Store 8001 (Default Target Priority) to 0x0072 (19f436) 00195f74: 34020005 ori r2,r0,0x0005 r2 = 5 00195f78: a080001c sb r0,0x001c(r4) Initialize Mount Info? (I have no idea what this is supposed to represent) 00195f7c: a080001d sb r0,0x001d(r4) Initialize Base Hit% 00195f80: a0820003 sb r2,0x0003(r4) Save 5 to 0x0057 00195f84: 03e00008 jr r31 Jump to Address 00195f88: a0800001 sb r0,0x0001(r4) Initialize 0x0055