Difference between revisions of "0018e628 - 0018e65c"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " BATTLE.BIN ------------------------------------------------------------------ 0018e628: 27bdffe8 addiu r29,r29,0xffe8 0018e62c: 3c048019 lui r4,0x8019 0018e630: 24843d24...")
 
 
Line 1: Line 1:
  BATTLE.BIN
+
  '''BATTLE.BIN''' :  - 0018e628_-_0018e65c
  ------------------------------------------------------------------
+
  Set Action State to 0x00 (executing)
  0018e628: 27bdffe8 addiu r29,r29,0xffe8
+
------------------------------------------------------------------------------------------
  0018e62c: 3c048019 lui r4,0x8019
+
Parameter : Nothing
  0018e630: 24843d24 addiu r4,r4,0x3d24
+
Return : Nothing
  0018e634: 3c058019 lui r5,0x8019
+
------------------------------------------------------------------------------------------
  0018e638: 24a5389c addiu r5,r5,0x389c
+
  0018e628: 27bdffe8 addiu r29,r29,-0x0018    |
  0018e63c: afbf0010 sw r31,0x0010(r29)
+
  0018e62c: 3c048019 lui r4,0x8019             |
  0018e640: 3c018019 lui r1,0x8019
+
  0018e630: 24843d24 addiu r4,r4,0x3d24       |{{f/adr|0x80193d24}}
  0018e644: ac20f5fc sw r0,-0x0a04(r1)   Set 0x8018d5fc to 0x00
+
  0018e634: 3c058019 lui r5,0x8019             |
  0018e648: 0c017895 jal 0x0005e254     [[Store_X_Byte_into_Y]]
+
  0018e638: 24a5389c addiu r5,r5,0x389c       |{{f/adr|0x8019389c}} {{f/std|Current Ability data}}
  0018e64c: 3406001e ori r6,r0,0x001e
+
  0018e63c: afbf0010 sw r31,0x0010(r29)       |
  0018e650: 8fbf0010 lw r31,0x0010(r29)
+
  0018e640: 3c018019 lui r1,0x8019             |
  0018e654: 27bd0018 addiu r29,r29,0x0018
+
  0018e644: ac20f5fc sw r0,-0x0a04(r1)         |{{f/store|Set 0x8018f5fc to 0x00}}
  0018e658: 03e00008 jr r31
+
  0018e648: 0c017895 jal 0x0005e254           |{{f/jal|Store_X_Byte_into_Y|Store_X_Byte_into_Y}} {{f/std|Copy 0x1e byte from 0x80193d24 to 0x8019389c}}
 +
  0018e64c: 3406001e ori r6,r0,0x001e         |
 +
  0018e650: 8fbf0010 lw r31,0x0010(r29)       |
 +
  0018e654: 27bd0018 addiu r29,r29,0x0018     |
 +
  0018e658: 03e00008 jr r31                   |
 +
===Return locations===
 +
'''BATTLE.BIN'''
 +
  0018289c: [[In_between_turn_control_routine]]
 +
  001940c4: [[Main_AI_action_setup]]

Latest revision as of 11:47, 29 May 2024

BATTLE.BIN :  - 0018e628_-_0018e65c
Set Action State to 0x00 (executing)
------------------------------------------------------------------------------------------
Parameter : Nothing
Return : Nothing
------------------------------------------------------------------------------------------
0018e628: 27bdffe8 addiu r29,r29,-0x0018     |
0018e62c: 3c048019 lui r4,0x8019             |
0018e630: 24843d24 addiu r4,r4,0x3d24        |0x80193d24
0018e634: 3c058019 lui r5,0x8019             |
0018e638: 24a5389c addiu r5,r5,0x389c        |0x8019389c Current Ability data
0018e63c: afbf0010 sw r31,0x0010(r29)        |
0018e640: 3c018019 lui r1,0x8019             |
0018e644: ac20f5fc sw r0,-0x0a04(r1)         |Set 0x8018f5fc to 0x00
0018e648: 0c017895 jal 0x0005e254            |-->Store_X_Byte_into_Y Copy 0x1e byte from 0x80193d24 to 0x8019389c
0018e64c: 3406001e ori r6,r0,0x001e          |
0018e650: 8fbf0010 lw r31,0x0010(r29)        |
0018e654: 27bd0018 addiu r29,r29,0x0018      |
0018e658: 03e00008 jr r31                    |

Return locations

BATTLE.BIN
 0018289c: In_between_turn_control_routine
 001940c4: Main_AI_action_setup