forked from Skeli789/Complete-Fire-Red-Upgrade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xse_defines.s
137 lines (112 loc) · 2.68 KB
/
xse_defines.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
.thumb
.equ ShowTrainerIntroSpeech, 0x34
.equ ShowTrainerCantBattleSpeech, 0x35
.equ GetTrainerFlag, 0x36
.equ EndTrainerApproach, 0x37
.equ SetUpTrainerEncounterMusic, 0x38
.equ HasEnoughMonsForDoubleBattle, 0x3D
.equ CAMERA_START, 0x113
.equ CAMERA_END, 0x114
.equ SetUpTrainerMovement, 0x13A
.equ CAMERA, 0x7F
.equ FOLLOWER, 0xFE
.equ PLAYER, 0xFF
.equ PLAYERFACING, 0x800C
.equ LASTRESULT, 0x800D
.equ LASTTALKED, 0x800F
.equ look_down, 0x0
.equ look_up, 0x1
.equ look_left, 0x2
.equ look_right, 0x3
.equ walk_down_slow, 0xC
.equ walk_up_slow, 0xD
.equ walk_left_slow, 0xE
.equ walk_right_slow, 0xF
.equ walk_down, 0x10
.equ walk_up, 0x11
.equ walk_left, 0x12
.equ walk_right, 0x13
.equ walk_down_onspot, 0x25
.equ walk_up_onspot, 0x26
.equ walk_left_onspot, 0x27
.equ walk_right_onspot, 0x28
.equ pause_xshort, 0x18
.equ pause_vshort, 0x19
.equ pause_short, 0x1A
.equ pause_long, 0x1C
.equ set_invisible, 0x60
.equ set_visible, 0x61
.equ exclaim, 0x62
.equ end_m, 0xFE
@;Only if you've expanded your movement types
.equ walk_up_backwards, 0xB2
.equ walk_down_backwards, 0xB3
.equ walk_right_backwards, 0xB4
.equ walk_left_backwards, 0xB5
.equ EventScript_RevealTrainer, 0x81A4FBA
.equ EventScript_NoDoubleTrainerBattle, 0x81A4F20
.equ EventScript_NotEnoughMonsForDoubleBattle, 0x81A4F19
.equ VAR_8006_LOC, 0x20370C4
.equ SELECTED_EVENT_OBJECT, 0x3005074
.equ BLUE, 0x0
.equ RED, 0x1
.equ BLACK, 0x3
.equ NO, 0x0
.equ YES, 0x1
.equ FALSE, 0x0
.equ TRUE, 0x1
.equ NOT_SET, 0x0
.equ SET, 0x1
.equ BOY, 0x0
.equ GIRL, 0x1
.equ DOWN, 0x1
.equ UP, 0x2
.equ LEFT, 0x3
.equ RIGHT, 0x4
.equ PARTY_SIZE, 0x6
.equ MAX_MON_MOVES, 0x4
.equ NUM_STATS, 0x6
.equ NUM_NATURES, 25
.equ FADEIN_BLACK, 0x0
.equ FADEOUT_BLACK, 0x1
.equ FADEIN_WHITE, 0x2
.equ FADEOUT_WHITE, 0x3
.equ ENDMART, 0x0
.equ TWO_MULTICHOICE_OPTIONS, 0x20
.equ THREE_MULTICHOICE_OPTIONS, 0x21
.equ FOUR_MULTICHOICE_OPTIONS, 0x22
.equ FIVE_MULTICHOICE_OPTIONS, 0x23
.equ SIX_MULTICHOICE_OPTIONS, 0x24
.equ SEVEN_MULTICHOICE_OPTIONS, 0x25
.equ SCROLL_MULTICHOICE_NUM, 0x8000
.equ SCROLL_MULTICHOICE_HEIGHT, 0x8001
.equ TYPE_NORMAL, 0x0
.equ TYPE_FIGHTING, 0x1
.equ TYPE_FLYING, 0x2
.equ TYPE_POISON, 0x3
.equ TYPE_GROUND, 0x4
.equ TYPE_ROCK, 0x5
.equ TYPE_BUG, 0x6
.equ TYPE_GHOST, 0x7
.equ TYPE_STEEL, 0x8
.equ TYPE_TYPELESS, 0x9
.equ TYPE_FIRE, 0xA
.equ TYPE_WATER, 0xB
.equ TYPE_GRASS, 0xC
.equ TYPE_ELECTRIC, 0xD
.equ TYPE_PSYCHIC, 0xE
.equ TYPE_ICE, 0xF
.equ TYPE_DRAGON, 0x10
.equ TYPE_DARK, 0x11
.equ TYPE_ROOSTLESS, 0x13
.equ TYPE_FAIRY, 0x17
.equ NUM_HIDDEN_POWER_TYPES, 16
.equ DELAY_HALFSECOND, 0x20
.equ DELAY_1SECOND, 0x40
.equ SUNDAY, 0x0
.equ MONDAY, 0x1
.equ TUESDAY, 0x2
.equ WEDNESDAY, 0x3
.equ THURSDAY, 0x4
.equ FRIDAY, 0x5
.equ SATURDAY, 0x6