forked from tustin2121/trihard-emerald
-
Notifications
You must be signed in to change notification settings - Fork 0
/
STATE_MACHINE.txt
122 lines (103 loc) · 3.27 KB
/
STATE_MACHINE.txt
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
VAR_LOGAN_STATE :=
0 = Not met Logan
1 = Logan has been saved in Petalburg, lying in bed in Petalburg
2 = Logan has run away from Petalburg, trigger on Route 104
3 = Logan is in Rustboro
4 = Logan is in Slateport
5 = Logan post-museum
6 =
VAR_AQUA_GIRL_FRIENDSHIP :=
0 = No relationship (+1 in Rustboro Heist)
1 = Names have been exchanged (+1 in Slateport)
2 = (+1 in Slateport Museum)
3 = (+1 in Meteor Falls [forced])
4 = (+1 in Mt Chimney - During)
5 = (+1 in Mt Chimney - Afterwards)
6 = (+1 in Weather Institute)
7 = (+1 in Mt. Pyre)
VAR_AQUA_BOY_FRIENDSHIP :=
0 = No relationship (+1 in Rustboro Heist)
1 = Names have been exchanged (+1 in Slateport)
2 = (+1 in Slateport Museum [forced])
3 = (+1 in Weather Institute)
4 = (+1 in Aqua Hideout - Before Mt. Pyre)
5 = (+1 in Aqua Hideout - After Mt. Pyre)
6 = (+1 in Aqua Hideout - After Magma Base)
7 = (+1 in Aqua Hideout - After Slateport Hijacking)
8 = (+1 in Aqua Hideout - After Sub Escape)
VAR_BRINEY_LOCATION :=
0 = Mr. Briney is nowhere
1 = Mr. Briney is in his house on Route 104
2 = Mr. Briney is on the docks in Dewford
3 = Mr. Briney is on the beach in Slateport
---------------------------------------------------------------
VAR_PETALBURG_STATE :=
0 = Looking for Logan
FLAG_HIDE_PETALBURG_CITY_LOGAN_PARENTS => FALSE
1 = Logan is in the tall grass
FLAG_HIDE_PETALBURG_CITY_LOGAN_PARENTS => FALSE
2 = Logan aftermath cutscene
3 = Gym is shut down, Logan in Center
FLAG_HIDE_PETALBURG_CITY_LOGAN_PARENTS => TRUE
FLAG_HIDE_PETALBURG_CITY_GYM_LOCK => FALSE
4 = Gym is still shutdown
10 = Gym is open, undefeated
11 = Gym is open, defeated
12 = Go to 11
VAR_RUSTBORO_STATE :=
0 = Initial Visit
1 = Heist will Trigger
2 = Post-Heist, Aquas to give task on trigger
3 = Post Task Assignment
4 = Post Task Completion, Aquas will recieve player on trigger
5 = <skiped>
6 = <skiped>
7 = Rival PokeNav/Fight Trigger
8 = Post Rival Trigger
VAR_SLATEPORT_MUSEUM_HEIST_STATE :=
0 = Aqua lining up outside museum
1 = Aqua inside museum
2 = Player breifed on mission
3 = Aqua has left, Logan meets on way out
4 = Post-Logan
VAR_MOSSDEEP_STATE :=
0 = Magma Invasion Preamble
1 = Magma Invasion Ongoing
3 = Post-Invasion State
10 = Prepared for Rain
11 = Mid-Rain Cutscene
VAR_RAYQUAZA_STATE :=
0 = No Rayquaza
1 = Kyogre Released, Raining
2 = Saw the fighting legendaries
3 = Met with Wallace, next stop Sky Pillar
4 = Outside Sky Pillar, things getting worse.
5 = Rayquaza left Sky Pillar, to Sootopolis!
6 = Rayquaza shouted SHUT UP, also post gym
VAR_SKY_PILLAR_STATE :=
0 = Initial State
1 = Rayquaza Released
2 = Post Legendary Battle (will turn player to face up)
3 = Post Legendary Battle
10 = Initial State, Post Legendary Battle (won by player)
VAR_AQUA_HIDEOUT_STATE :=
0 = Initial State
1 = Meet Logan on way up
2 = After Logan
VAR_WEATHER_INSTITUTE_STATE :=
0 = Initial State, heist getting
1 = Heist Underway
2 = Heist Cleared
3 = Heist Cleared, everyone back to normal hidden levels
VAR_LUCY_LOCATION :=
10 = Rustboro
20 = Dewford
30 = Slateport
40 = Mauville
50 = Petalburg
60 = Lilycove
70 = Mossdeep
80 = Fortree
90 = Lavaridge
100 = Sootopolis
200 = Ever Grande