summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2019-04-08 17:30:28 -0500
committerGitHub <noreply@github.com>2019-04-08 17:30:28 -0500
commitce93d3ab9ac460ba771863df60e36be8497b7c78 (patch)
treec0b78fe2cd3bd406c16d244dd257ccd5d751f9ef /data
parentc8ce1a0a1f533a265d5134660c31b1ec6e8b86e0 (diff)
parent50350cc2e1c26082f9d852e97e1698f7254d4145 (diff)
Merge pull request #661 from Phlosioneer/contest-ai-cleanup
contest & contest_ai cleanup
Diffstat (limited to 'data')
-rw-r--r--data/contest_ai_scripts.s67
-rw-r--r--data/event_scripts.s2
-rw-r--r--data/text/contest_strings.inc2
3 files changed, 36 insertions, 35 deletions
diff --git a/data/contest_ai_scripts.s b/data/contest_ai_scripts.s
index 6eb254dae..7346876d7 100644
--- a/data/contest_ai_scripts.s
+++ b/data/contest_ai_scripts.s
@@ -11,39 +11,40 @@
enum MON_4
.align 2
-gContestAIs:: @ 82DE350
- .4byte AI_CheckForBadMove
- .4byte AI_CheckForCombo
- .4byte AI_CheckBoring
- .4byte AI_CheckExcitement
- .4byte AI_CheckOrder
- .4byte AI_CheckForGoodMove
- .4byte AI_Erratic
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
- .4byte AI_Nothing
+gContestAIChecks:: @ 82DE350
+ .4byte AI_CheckForBadMove // 0x00000001
+ .4byte AI_CheckForCombo // 0x00000002
+ .4byte AI_CheckBoring // 0x00000004
+ .4byte AI_CheckExcitement // 0x00000008
+ .4byte AI_CheckOrder // 0x00000010
+ .4byte AI_CheckForGoodMove // 0x00000020
+ .4byte AI_Erratic // 0x00000040
+ .4byte AI_Nothing // 0x00000080
+ .4byte AI_Nothing // 0x00000100
+ .4byte AI_Nothing // 0x00000200
+ .4byte AI_Nothing // 0x00000400
+ .4byte AI_Nothing // 0x00000800
+ .4byte AI_Nothing // 0x00001000
+ .4byte AI_Nothing // 0x00002000
+ .4byte AI_Nothing // 0x00004000
+ .4byte AI_Nothing // 0x00008000
+ .4byte AI_Nothing // 0x00010000
+ .4byte AI_Nothing // 0x00020000
+ .4byte AI_Nothing // 0x00040000
+ .4byte AI_Nothing // 0x00080000
+ .4byte AI_Nothing // 0x00100000
+ .4byte AI_Nothing // 0x00200000
+ .4byte AI_Nothing // 0x00400000
+ .4byte AI_Nothing // 0x00800000
+ .4byte AI_Nothing // 0x01000000
+ .4byte AI_Nothing // 0x02000000
+ .4byte AI_Nothing // 0x04000000
+ .4byte AI_Nothing // 0x08000000
+ .4byte AI_Nothing // 0x10000000
+ .4byte AI_Nothing // 0x20000000
+ .4byte AI_Nothing // 0x40000000
+ .4byte AI_Nothing // 0x80000000
+
@ Unreferenced AI routine to encourage moves that improve condition on the first
@ turn. Additionally, it checks the appeal order of the user and the effect
diff --git a/data/event_scripts.s b/data/event_scripts.s
index 2587c63d2..e2887b632 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -3460,7 +3460,7 @@ EventScript_GotoTrainerScript:: @ 82742F6
gUnknown_0827E8CE:: @ 827E8CE
.string "Missed turn$"
-gUnknown_0827E8DA:: @ 827E8DA
+gText_LinkStandby4:: @ 827E8DA
.string "Link standby!$"
gUnknown_0827E8E8:: @ 827E8E8
diff --git a/data/text/contest_strings.inc b/data/text/contest_strings.inc
index 1406ba3cb..e332e16bb 100644
--- a/data/text/contest_strings.inc
+++ b/data/text/contest_strings.inc
@@ -633,7 +633,7 @@ gText_0827E6C4:: @ 827E6C4
.string "{STR_VAR_1} was\n"
.string "unaffected.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"
-gText_0827E6E3:: @ 827E6E3
+gText_RepeatedAppeal:: @ 827E6E3
.string "{STR_VAR_1} disappointed\n"
.string "by repeating an appeal.{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}{PAUSE 0x0F}$"