file[n]

Row Data
1 charname
2 lv
3 maxhp
4 maxen
5 at
6 wstrength
7 df
8 adef
9 sp
10 xp
11 gold
12 kills
13 item[n], phone[n] where 0 <= n < 8
29 weapon
30 armor
31 flag[n] where 0 <= n < 512
543 plot
544 menuchoice[n] where 0 <= n < 3
547 currentsong
548 currentroom
549 time

undertale.ini

Section Key Description
General Name String. Limited to six characters by the name entry screen. Name of the fallen child.
General Time Incremental. Time played in frames. (For display purposes on the title screen.)
General Room Variable. Room number you saved in. Presumably has room names associated with it for title screen display.
General Gameover Incremental. Number of game overs you've had.
General Kills Incremental. Number of times you've killed monsters.
General Love Variable. How much LOVE you have.
General fun Variable. "fun" value. Set randomly at the start of a new run or reset. Reset to 0 after several "fun" events. A value between 1-100.
General Fun Variable. "Fun" value. Only attainable in v1.00, and has none of the "fun" effects. The originally intended capitalization is unclear.
General Tale Boolean. You've heard the story the monsters tell you through combat cutscenes in "New Home". This happens during a neutral run, or the neutral portion of a pacifist run.
General Won Incremental. Defeated Flowey in the Neutral route. Set after walking out the door, when the Undertale title appears.
General BW Incremental. The amount of times you had Won before the last True Reset (where the normal "Won" is reset to 0). Used for border unlocking.
General BC Incremental. The total number of items you have obtained, and by extension the total number of item-acquisition achievements earned.
General CP Boolean. Whether you have completed True Pacifist. Used for border unlocking.
General BP Boolean. Whether you have True Reset with CP set to 1. Used for border unlocking.
General CH Boolean. Whether you have completed Hard Mode. Used for border unlocking.
General BH Boolean. Whether you have True Reset with CH set to 1. Used for border unlocking.
reset reset Boolean. True reset has been used.
reset s_key Boolean. All "Special Thanks" credits dodged. Unlocks the door that's inside the cave in Snowdin.
Flowey Met1 Incremental. Number of times you've met flowey at the start of the game.
Flowey K Boolean. You killed Flowey, and now none of these other values ever get set. Nice.
Flowey NK Boolean. Flowey was not killed during a neutral-pacifist ending. Only takes effect on subsequent endings/resets. Possibly stands for "nobody killed."
Flowey IK Boolean. Flowey was not killed during a neutral-with-EXP ending. Only takes effect on subsequent endings/resets.
Flowey SK Boolean. Asgore committed suicide, because Flowey held back: either due to faking his death or to having promised not to kill the king.
Flowey FloweyExplain1 Boolean. Toriel was spared, then killed. Or killed, then spared. Flowey comments on it once, setting this variable.
Flowey EX Incremental. Added and set to "1.000000" after post-neutral phonecall if the NK or IK keys already exist and other speech conditions are not met. Incremented each time this process is repeated. Flowey's speech after the neutral run phone call depends on the value of EX, unless overwritten by more "important" dialogue. No longer increments after being set to "5.000000"
Flowey CHANGE Incremental. Set when you "change" from a murderous path, by completing a neutral-pacifist ending after Flowey tells you to do so. Set to 2 when you "change" back to killing after Flowey tells you to befriend the main characters.
Flowey AK Boolean. Asgore is the only monster killed under similar situations as CHANGE is set. Flowey gets mad.
Flowey AF Boolean. The Alphys date is completed but a neutral ending is reached anyway.
Flowey Alter Appears after beating and sparing Omega Flowey in the Neutral run and then resetting. This is set to "1.000000" when you "first" encounter Flowey in the ruins. If already set to "1.000000" when you reset, Flowey will not be in that second room of the ruins, nor at the end of the ruins (unless a Genocide route is also in progress).
Flowey alter2 Set to "1.000000" after triggering a Genocide run and meeting Flowey in the room before the ruins exit.
Flowey truename Set to "1.000000" after triggering a Genocide run and meeting Flowey in the room before the ruins exit. If already set to "1.000000" when you reset, Flowey will not be in that room before the ruins exit
Flowey SPECIALK Set to "1.000000" if truename is set to "1.000000" in the ini file. (Genocide run was previously triggered) This is set after the phonecall at the end of the Neutral portion of a run. Prevents Flowey from showing up after the phonecall again.
Toriel Bscotch Variable. What your Butterscotch/Cinnamon preference is. "1.000000" is for Butterscotch. "2.000000" is for Cinnamon.
Toriel TS Incremental. You have spared Toriel.
Toriel TK Incremental. You have killed Toriel.
Sans M1 Incremental. Number of times you've met Sans after exiting the ruins.
Sans EndMet Boolean. Met sans in the chapel near the end of the neutral run.
Sans MeetLv1 Incremental. The number of times you've met Sans with no kills. Skips over 2 due to a glitch.
Sans MeetLv2 Incremental. The number of times you've met Sans with kills.
Sans MeetLv Variable. The LOVE you last met Sans at.
Sans Pass Variable. Pacifist password rank. 1 when receiving the first password, 2 with the second, 3 with the third. Subsequent reloads yield the same dialogue and no increase in Pass.
Sans Intro Incremental. The number of times you've heard Sans' intro (survived the surprise attack) in a Genocide run.
Sans F Incremental. The number of times you've fought Sans in a Genocide run.
Sans MP Incremental. Number of times you've reached the "midpoint" of the Sans fight in a Genocide run.
Sans SK Incremental. Number of times you have killed Sans during the Genocide run.
Sans SS Incremental. You have spared Sans during the Genocide run.
Sans SS2 Incremental. You attacked Sans after getting dunked on. Prevents him from repeating himself about your being pissed off.
Papyrus M1 Incremental. Number of times you've met Papyrus after meeting Sans just outside of the ruins.
Papyrus PS Incremental. Papyrus has been spared.
Papyrus PD Incremental. Papyrus has been dated.
Papyrus PK Incremental. Papyrus has been killed.
FFFFF F Boolean. Whether you are trapped in the battle.
FFFFF D Incremental. The number of times you have died to Flowey. Used for his return monologue.
FFFFF P Variable. The current phase of the battle.
FFFFF E Variable. 1 if you reached the end of the battle and are facing Flowey to kill or spare him; 2 if you already did that. Reset to 0 in the credits.
Undyne UD Incremental. Undyne has been befriended.
Mettaton BossMet Boolean. You have faced Mettaton EX.
Mett O Boolean. You have done the Mettaton opera section.
MTT EssayNo Incremental. Number of times you have done Mettaton's essay. Shortens the time you get to write subsequently.
Asgore KillYou Incremental. The number of times Asgore has killed you.
Alphys AD Incremental. Been on a date with Alphys.
F7 F7 Boolean. You have spared Asriel. Pushes the start menu to its fullest stage.
EndF EndF Incremental. The post True Pacifist credits (sets to 1), and Flowey's speech about restarting (sets to 2).