diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2016-08-18 12:07:30 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2016-08-18 12:07:30 -0400 |
commit | 4926608100eb07801876c0a53bfc1ee41d010ec0 (patch) | |
tree | fa697c34ed50a134050916e22d40577fa0b9afa0 /data | |
parent | 5fef0da5ab7e001aab3f082380898144b5e90122 (diff) |
begin dissassembling contest AI bins and adding macros
Diffstat (limited to 'data')
-rw-r--r-- | data/contest_ai_scripts.s | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/data/contest_ai_scripts.s b/data/contest_ai_scripts.s index 0dadd457e..6ef4b3377 100644 --- a/data/contest_ai_scripts.s +++ b/data/contest_ai_scripts.s @@ -1,4 +1,5 @@ .include "asm/macros.s" + .include "asm/macros/contest_ai_script.s" .include "constants/constants.s" .section script_data, "aw", %progbits @@ -39,18 +40,46 @@ gUnknown_081DC118:: @ 81DC118 .4byte Unknown_081DCAF3 .incbin "baserom.gba", 0x001dc198, 0xE7 @ unreferenced? Unknown_081DC27F: - .incbin "baserom.gba", 0x001dc27f, 0x2C @ figured out + contest_28 0x03 AI_end_081DC27F + contest_3E 0x01 AI_score1_081DC27F + contest_3E 0x02 AI_score2_081DC27F + contest_3E 0x03 AI_score3_081DC27F + contest_3E 0x04 AI_score4_081DC27F + end +AI_score1_081DC27F: + score 0xFB + end +AI_score2_081DC27F: + score 0xF1 + end +AI_score3_081DC27F: + score 0xEC + end +AI_score4_081DC27F: + score 0xE7 + end +AI_end_081DC27F: + end Unknown_081DC2AB: .incbin "baserom.gba", 0x001dc2ab, 0x9D Unknown_081DC348: - .incbin "baserom.gba", 0x001dc348, 0x7F @ figured out + .incbin "baserom.gba", 0x001dc348, 0x7F Unknown_081DC3C7: .incbin "baserom.gba", 0x001dc3c7, 0x417 Unknown_081DC7DE: - .incbin "baserom.gba", 0x001dc7de, 0x1D @ figured out + contest_20 0x02 AI_contest7D_081DC7DE + contest_20 0x03 AI_contest7D_081DC7DE + contest_20 0x04 AI_contest7D_081DC7DE + end +AI_contest7D_081DC7DE: + contest_7D 0x7D AI_end_081DC7DE + score 0x0A + end +AI_end_081DC7DE: + end Unknown_081DC7FB: .incbin "baserom.gba", 0x001dc7fb, 0x251 Unknown_081DCA4C: .incbin "baserom.gba", 0x001dca4c, 0xA7 Unknown_081DCAF3: - .incbin "baserom.gba", 0x001dcaf3, 0x1 @ figured out + end |