summaryrefslogtreecommitdiff
path: root/asm/macros/contest_ai_script.s
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2016-08-18 12:07:30 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2016-08-18 12:07:30 -0400
commit4926608100eb07801876c0a53bfc1ee41d010ec0 (patch)
treefa697c34ed50a134050916e22d40577fa0b9afa0 /asm/macros/contest_ai_script.s
parent5fef0da5ab7e001aab3f082380898144b5e90122 (diff)
begin dissassembling contest AI bins and adding macros
Diffstat (limited to 'asm/macros/contest_ai_script.s')
-rwxr-xr-xasm/macros/contest_ai_script.s228
1 files changed, 228 insertions, 0 deletions
diff --git a/asm/macros/contest_ai_script.s b/asm/macros/contest_ai_script.s
new file mode 100755
index 000000000..7df40ef4b
--- /dev/null
+++ b/asm/macros/contest_ai_script.s
@@ -0,0 +1,228 @@
+@ contest AI macro research
+
+
+ .macro score score
+ .byte 0x00
+ .byte \score
+ .endm
+
+@ 01
+@ 02
+@ 03
+
+ .macro contest_04 addr
+ .byte 0x04
+ .byte \param
+ .4byte \addr
+ .endm
+
+@ 05
+@ 06
+@ 07
+@ 08
+@ 09
+@ 0A
+@ 0B
+@ 0C
+@ 0D
+
+ .macro contest_0E addr
+ .byte 0x0E
+ .byte \param
+ .4byte \addr
+ .endm
+
+@ 0F
+@ 10
+@ 11
+@ 12
+@ 13
+@ 14
+@ 15
+@ 16
+@ 17
+@ 18
+@ 19
+@ 1A
+@ 1B
+@ 1C
+@ 1D
+@ 1E
+@ 1F
+
+ .macro contest_20 param addr
+ .byte 0x20
+ .byte \param
+ .4byte \addr
+ .endm
+
+@ 21
+@ 22
+@ 23
+@ 24
+@ 25
+@ 26
+@ 27
+
+ .macro contest_28 param addr
+ .byte 0x28
+ .byte \param
+ .4byte \addr
+ .endm
+
+@ 29
+@ 2A
+@ 2B
+@ 2C
+@ 2D
+@ 2E
+@ 2F
+@ 30
+@ 31
+@ 32
+@ 33
+@ 34
+@ 35
+@ 36
+@ 37
+@ 38
+@ 39
+@ 3A
+@ 3B
+@ 3C
+@ 3D
+
+ .macro contest_3E param addr
+ .byte 0x3E
+ .byte \param
+ .4byte \addr
+ .endm
+
+@ 3F
+@ 40
+@ 41
+
+ .macro contest_42 addr
+ .byte 0x42
+ .4byte \addr
+ .endm
+
+@ 43
+@ 44
+
+ .macro contest_45 addr
+ .byte 0x45
+ .4byte \addr
+ .endm
+
+@ 46
+
+ .macro contest_47 addr
+ .byte 0x47
+ .4byte \addr
+ .endm
+
+@ 48
+@ 49
+@ 4A
+@ 4B
+@ 4C
+@ 4D
+@ 4E
+@ 4F
+@ 50
+@ 51
+@ 52
+@ 53
+@ 54
+@ 55
+@ 56
+@ 57
+@ 58
+@ 59
+@ 5A
+@ 5B
+@ 5C
+@ 5D
+@ 5E
+@ 5F
+@ 60
+@ 61
+@ 62
+@ 63
+@ 64
+@ 65
+@ 66
+@ 67
+@ 68
+@ 69
+@ 6A
+@ 6B
+@ 6C
+@ 6D
+@ 6E
+@ 6F
+@ 70
+@ 71
+@ 72
+@ 73
+@ 74
+@ 75
+@ 76
+@ 77
+@ 78
+@ 79
+@ 7A
+@ 7B
+@ 7C
+
+ .macro contest_7D param addr
+ .byte 0x7D
+ .byte \param
+ .4byte \addr
+ .endm
+
+@ 7E
+@ 7F
+
+ .macro contest_80 addr
+ .byte 0x80
+ .4byte \addr
+ .endm
+
+ .macro end
+ .byte 0x81
+ .endm
+
+@ 82
+@ 83
+@ 84
+@ 85
+@ 86
+@ 87
+@ 88
+@ 89
+@ 8A
+@ 8B
+@ 8C
+@ 8D
+@ 8E
+@ 8F
+@ 90
+@ 91
+@ 92
+@ 93
+@ 94
+@ 95
+@ 96
+@ 97
+@ 98
+@ 99
+@ 9A
+@ 9B
+@ 9C
+@ 9D
+@ 9E
+@ 9F
+
+@ adding more if I find more macros greater than 9F.