summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2016-08-18 00:55:49 -0400
committeryenatch <yenatch@gmail.com>2016-08-18 00:55:49 -0400
commit8700f4010d417f51b0982453742377b50ec1fae8 (patch)
treee6381cfea6ea233c097af03d0367af5fbc7762c0 /asm
parente092636caf708a8b21d9bfe3f138de6267c32cbe (diff)
Name the battle ai functions and name a couple more macros.
Diffstat (limited to 'asm')
-rw-r--r--asm/macros/battle_ai_script.s4
-rw-r--r--asm/rom5.s2
2 files changed, 3 insertions, 3 deletions
diff --git a/asm/macros/battle_ai_script.s b/asm/macros/battle_ai_script.s
index 6394d66cc..7359f574b 100644
--- a/asm/macros/battle_ai_script.s
+++ b/asm/macros/battle_ai_script.s
@@ -394,7 +394,7 @@
.4byte \address
.endm
- .macro ai_45
+ .macro flee
.byte 0x45
.endm
@@ -417,7 +417,7 @@
.byte \target
.endm
- .macro ai_4a target
+ .macro is_first_turn target
.byte 0x4a
.byte \target
.endm
diff --git a/asm/rom5.s b/asm/rom5.s
index b641e83fe..9df942e23 100644
--- a/asm/rom5.s
+++ b/asm/rom5.s
@@ -288859,7 +288859,7 @@ _081073C6:
.align 2, 0
_081073D0: .4byte 0x02016800
_081073D4: .4byte 0x02039238
-_081073D8: .4byte gUnknown_081DA01C
+_081073D8: .4byte BattleAIs
_081073DC: .4byte 0x02024a80
_081073E0: .4byte 0x02024c07
_081073E4: