summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2016-08-19 00:14:00 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2016-08-19 00:14:00 -0400
commit4cecd7174af83a6901e25451231d8801e57246b7 (patch)
treeb147f51272ecf2543eb38627d9b9a8a27eb413a9
parent8d050774145ab190ea4ea46bbb3540e7108748e6 (diff)
dump xA7 contest AI bin
-rw-r--r--data/contest_ai_scripts.s67
1 files changed, 65 insertions, 2 deletions
diff --git a/data/contest_ai_scripts.s b/data/contest_ai_scripts.s
index 23d232b47..06403524b 100644
--- a/data/contest_ai_scripts.s
+++ b/data/contest_ai_scripts.s
@@ -630,10 +630,73 @@ Unknown_081DC7FB:
if_effect 6, 0x081dc9bd
if_effect 2, 0x081dc9ff
end
- .incbin "baserom.gba", 0x001dc8c2, 0x18A
+ .incbin "baserom.gba", 0x001dc8c2, 0x189
+
+ContestEffectEnd2:
+ end
Unknown_081DCA4C:
- .incbin "baserom.gba", 0x001dca4c, 0xA7
+ contest_0E 0x00 AI_effectcheck1_081DCA4C
+ contest_0E 0x01 AI_effectcheck2_081DCA4C
+ contest_0E 0x02 AI_effectcheck3_081DCA4C
+ contest_0E 0x03 AI_effectcheck4_081DCA4C
+ end
+AI_effectcheck1_081DCA4C:
+ if_effect 0x1D AI_score1_081DCA4C
+ if_effect 0x21 AI_score2_081DCA4C
+ contest_2B 0x01 AI_random1_081DCA4C
+ end
+AI_score1_081DCA4C:
+ score 0x0F
+ end
+AI_score2_081DCA4C:
+ score 0xF1
+ end
+AI_random1_081DCA4C:
+ if_random 0x64 ContestEffectEnd2
+ score 0x0A
+ end
+AI_effectcheck2_081DCA4C:
+ if_effect 0x21 AI_score3_081DCA4C
+ contest_2B 0x01 AI_random2_081DCA4C
+ end
+AI_score3_081DCA4C:
+ score 0xFB
+ end
+AI_random2_081DCA4C:
+ if_random 0x7D ContestEffectEnd2
+ score 0x0A
+ end
+AI_effectcheck3_081DCA4C:
+ if_effect 0x21 AI_score4_081DCA4C
+ if_effect 0x1F AI_score4_081DCA4C
+ if_effect 0x01 AI_score4_081DCA4C
+ end
+AI_score4_081DCA4C:
+ score 0x05
+ end
+AI_effectcheck4_081DCA4C:
+ if_effect 0x21 AI_score5_081DCA4C
+ if_effect 0x1E AI_score5_081DCA4C
+ if_effect 0x1F AI_score5_081DCA4C
+ if_effect 0x01 AI_score5_081DCA4C
+ if_effect 0x12 AI_score7_081DCA4C
+ contest_2B 0x01 AI_score6_081DCA4C
+ contest_2B 0x03 AI_random3_081DCA4C
+ end
+AI_score5_081DCA4C:
+ score 0x0F
+ end
+AI_score6_081DCA4C:
+ score 0xF6
+ end
+AI_random3_081DCA4C:
+ if_random 0x7D ContestEffectEnd2
+ score 0x0A
+ end
+AI_score7_081DCA4C:
+ score 0x05
+ end
Unknown_081DCAF3:
end