User:FrostTheFrozenFox/Flags
Flags are a major internal mechanic in the game, used to track the player's progress. These are primarily separated by area, and can be accessed easily via the SAVE FILE.
Generic[edit | edit source]
Despite being labeled as "Generic flags", these are set with the flags for the Ruins, and are primarily Dark Ruins flags
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
0 | Lemonade collected | 0-1 |
|
1 | First Dark Ruins switch puzzle completion | 0-1 |
|
2 | First Dark Ruins light puzzle completion | 0-1 |
|
3 | Dalv second cutscene completion status | 0-1 |
|
4 | Pulled the lever immediately after the second Dalv monologue | 0-1 |
|
5 | Pulled the lever in the corn maze | 0-1 |
|
6 | Second Dark Ruins light puzzle completion | 0-1 |
|
7 | Found the hidden entrance in rm_ruins_13 | 0-1 |
|
8 | Obtained Candy Corn | 0-1 |
|
9 | Killed the Intro Froggit (Note: Impossible to achieve legitimately) | 0-1 |
|
10 | Obtained Feather | 0-1 |
|
11 | Obtained Corn Dog | 0-1 |
|
12 | Gate lever activated (Shortcut from Dalv's house to the second light puzzle) | 0-1 |
|
13 | Unused | ||
14 | Obtained Pebbles ammo | 0-1 |
|
15 | Decibat fate | 0-3 |
|
16 | Watched Decibat sentinel of silence cutscene | 0-1 |
|
17 | Dalv fate | 0-4 |
|
18 | Micro Froggit fate | 0-2 |
|
19 | Obtained Golden Pear | 0-1 |
|
20 | Dark Ruins Clover wakeup cutscene | 0-1 |
|
21 | Hurt Dalv during battle? (Never set in the code, influences some cutscenes) | 0-1 |
|
22 | Unused; Set in an unused script, where it appears to be a tracker for saving after fully completing the Dark Ruins in genocide | 0-1 |
|
23 | Rescue Ending rope status | 0-2 |
|
24 | Flowey introduction progress | 0-3 |
|
25 | Dalv meeting cutscene | 0-1 |
|
26 | Tracks completion of the Dalv cutscene outside his house | 0-1 |
|
27 | Tracks completion of the cutscene surrounding the Dalv fight (Both the pre-fight and post-spare cutscenes) | 0-1 |
|
28 | Spoken to Dalv in his house | 0-1 |
|
29 | Dalv board destruction cutscene. When 1, Ruins NPCs are able to appear in Snowdin after backtracking. | 0-2 |
|
Ruins[edit | edit source]
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
0 | Progress in the first Ruins room | 0-2 |
|
1 | Tracks Toriel walking through the first Ruins room.
Also set if you manage to kill the first Froggit |
0-2 |
|
2 | Tutorial Puzzle progress | 0-1 |
|
3 | Unused; Intended to track if you've completed the Switch puzzle or not |
Dark Ruins[edit | edit source]
Note: None of these flags are ever called ingame, nor are these saved.
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
3 | Flier defeated | 0-1 |
|
7 | Penilla defeated | 0-1 |
|
8 | Sweet Corn defeated | 0-1 |
|
12 | Rorrim defeated | 0-1 |
|
14 | Crispy Scroll defeated | 0-1 |
|
Snowdin flags[edit | edit source]
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
0 | Tracks completion of the first Flowey cutscene | 0-1 |
|
1 | Tracks whether you've given the map to the Snowdin adventurers | 0-2 |
|
2 | Tracks completion of the first rock puzzle in Snowdin | 0-2 |
|
3 | Spoke to Slurpy | 0-2 |
|
4 | Ice Pellet tree status | 0-2 |
|
5 | Snowdin Mo cutscene | 0-2 |
|
6 | Unused | ||
7 | Mail Whale meeting status | 0-1 |
|
8 | Shuffler status | 0-6 |
|
9 | Tracks whether you've returned the mitten to the NPC.
When 2, gives unique dialogue to the glover NPC's aunt at the Dunes |
0-2 |
|
10 | Golden Coffee collected | 0-1 |
|
11 | Disabled swinging bridge | 0-1 |
|
12 | Tracks completion of the second rock puzzle in Snowdin | 0-2 |
|
13 | Martlet status | 0-3 |
|
14 | Martlet plot value | 0-5 |
|
15 | Which name has Clover chosen | 1-2 |
|
16 | Tracks whether the Martlet cutscene at the first rock puzzle was seen | 0-1 |
|
17 | Tracks whether the Martlet bridge cutscene was watched | 0-1 |
|
18 | Dialogue progress with the NPC in Honeydew who comes from the Dunes | 0-2 |
|
19 | Stolen from Honeydew | 0-1 |
|
20 | Honeydew Shop talk progress | 0-2 |
|
21 | Martlet status (Genocide) | 0-1 |
|
22 | Entered "Secret to Everyone" room | 0-1 |
|
Dunes flags[edit | edit source]
Flag ID | Purpose | Range | Meaning |
---|---|---|---|
0 | Entered Dunes via raft | 0-1 |
|
7 | Gave the miner NPC their hardhat
Affects the True Pacifist credits scene of the mines |
0-2 |
|
10 | Ridden the Dunes minecart before
Controls whether the minecart in-between cutscene can be skipped |
0-1 |
|
24 | How the Starlo fight ended | 0-2 |
|
25 | Whether the player has beaten Mew Mew Love Blaster (does not affect anything in-game) | 0-1 |
|
26 | How the El Bailador fight ended | 0-3 |
|
40 | How the Genocide Ceroba fight ended | 0-1 |
|
Additional Dunes flags[edit | edit source]
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
0 | Mooch dialogue progress (While on break) | 0-8 |
|
1 | Moray dialogue progress (While on break) | 0-3 |
|
2 | Ace dialogue progress (While on break) | 0-5 |
|
3 | Ed dialogue progress (While on break) | 0-4 |
|
4 | Spoken to Martlet while in jail | 0-1 |
|
5 | Spoken to Mail Whale at the saloon | 0-1 |
|
6 | Ceroba dialogue progress (While on break) | 0-5 |
|
Steamworks flags[edit | edit source]
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
0 | Tracks progress with initial room dialogue and generator | ? |
|
20 | How the Guardener fight ended | 0-3 |
|
21 | Tracks completion of Ceroba "two paths" door cutscene | 0-1 |
|
26 | Steamworks ID status | 0-2 |
|
31 | How the Axis fight ended | 0-4 |
|
41 | Killed a robot in the Steamworks during Pacifist (Prevents Ceroba from commenting on it twice) | 0-1 |
|
44 | Overworld sprite used for the custom robot | 0-6 |
|
58 | Aborted Pacifist on Axis | 0-1 |
|
Hotland flags[edit | edit source]
Flags for New Home are also tracked here.
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
0 | Flowey alleyway cutscene | 0-2 |
|
1 | Rooftop cutscene (Pacifist) | 0-1 |
|
2 | Ceroba fight phase tracker | 0-3 |
|
3 | Ceroba status (Pacifist) | 0-1 |
|
4 | Asked about Hotland at Bits and Bites | 0-2 |
|
5 | Asked about Toriel at Bits and Bites | 0-2 |
|
6 | Tracks if you've entered the elevator to Hotland before.
Also determines "Slurpy letter 2", "Ceroba (Important)", and "MAIL???" letters on Neutral or Pacifist routes, and Flowey's comment at the end of the Steamworks in Genocide |
0-1 |
|
7 | "Handlord" NPC informing you that the elevator is open after the rooftop cutscene (Pacifist) | 0-1 |
|
8 | Geno narration progress | 0-4 |
|
9 | Zenith phase tracker. | 0-3 |
|
10 | Tracks whether the post-Ceroba fight cutscene was finished (Flawed Pacifist) | 0-1 |
|
11 | Stolen from Bits & Bites | 0-1 |
|
12 | Rooftop cutscene (Neutral) | 0-1 |
|
13 | Handles Martlet's dialogue upon interacting with a locked door in New Home (Pacifist, also applies on Neutral if you somehow get there)
The effects of this flag also apply if Flag 10 is set |
0-1 |
|
14 | Martlet interaction in Bits and Bites | 0-1 |
|
15 | Controls the prompt in Pacifist, before heading to the rooftop | 0-1 |
|
GenoComplete flags[edit | edit source]
These flags store completion of the Genocide route. These flags are strictly true or false; When 1, the game will act as if the kill count for the area is complete, regardless of if it has been or not. All areas have a kill count of 20.
Flag ID | Corresponding area |
---|---|
1 | Dark Ruins |
2 | Snowdin |
3 | The Dunes |
4 | Steamworks |
5 | Unused (Assigned to UG Apartments) |
"Extra" flags[edit | edit source]
These flags exclusively track Mo's shops in Snowdin and the Dunes.
Flag ID | Purpose | Valid ingame range(s) | Value meanings |
---|---|---|---|
1 | Mo Hot Pop status | 0-1 |
|
2 | Mo Lukewarm Pop status | 0-1 |
|
3 | Mo Cold Pop status | 0-1 |
|
4 | Mo Ice Tea status | 0-1 |
|
5 | Mo Green Tea status | 0-1 |
|
6 | Mo Sea Tea status | 0-1 |
|
7 | Mo Moss Salad status | 0-1 |
|
8 | Mo Grassy Fries status | 0-1 |
|
9 | Mo Flower Stew status | 0-1 |
|
Mail flags[edit | edit source]
Unlike other flags, these are all strictly true or false; When these values are 0, they'll be checked for eligibility when you go to a mail station. These check other flags as well when checking eligibility.
Flag ID | Associated mail | Additional requirements |
---|---|---|
1 | Slurpy Letter |
|
2 | Mo Letter |
|
3 | Dalv Letter |
|
4 | Shufflers Letter | |
5 | Starlo Update | |
6 | Starlo (Urgent) | |
7 | Slurpy Letter 2 |
|
8 | Ceroba (Important) |
|
9 | MAIL??? |
|