Skip to main content

GameStateFlag

Used with the Game.GetStateFlag and Game.SetStateFlag methods.

Enumeration Members

FAMINE_SPAWNED

FAMINE_SPAWNED = 0

Defined in

GameStateFlag.ts:3


PESTILENCE_SPAWNED

PESTILENCE_SPAWNED = 1

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:6


WAR_SPAWNED

WAR_SPAWNED = 2

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:9


DEATH_SPAWNED

DEATH_SPAWNED = 3

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:12


BOSS_POOL_SWITCHED

BOSS_POOL_SWITCHED = 4

Defined in

GameStateFlag.ts:14


DEVIL_ROOM_SPAWNED

DEVIL_ROOM_SPAWNED = 5

Defined in

GameStateFlag.ts:15


DEVIL_ROOM_VISITED

DEVIL_ROOM_VISITED = 6

Defined in

GameStateFlag.ts:16


BOOK_REVELATIONS_USED

BOOK_REVELATIONS_USED = 7

Defined in

GameStateFlag.ts:17


BOOK_PICKED_UP

BOOK_PICKED_UP = 8

Defined in

GameStateFlag.ts:18


WRATH_SPAWNED

WRATH_SPAWNED = 9

Defined in

GameStateFlag.ts:19


GLUTTONY_SPAWNED

GLUTTONY_SPAWNED = 10

Defined in

GameStateFlag.ts:20


LUST_SPAWNED

LUST_SPAWNED = 11

Defined in

GameStateFlag.ts:21


SLOTH_SPAWNED

SLOTH_SPAWNED = 12

Defined in

GameStateFlag.ts:22


ENVY_SPAWNED

ENVY_SPAWNED = 13

Defined in

GameStateFlag.ts:23


PRIDE_SPAWNED

PRIDE_SPAWNED = 14

Defined in

GameStateFlag.ts:24


GREED_SPAWNED

GREED_SPAWNED = 15

Defined in

GameStateFlag.ts:25


SUPER_GREED_SPAWNED

SUPER_GREED_SPAWNED = 16

Defined in

GameStateFlag.ts:26


DONATION_SLOT_BROKEN

DONATION_SLOT_BROKEN = 17

Defined in

GameStateFlag.ts:27


DONATION_SLOT_JAMMED

DONATION_SLOT_JAMMED = 18

Defined in

GameStateFlag.ts:28


HEAVEN_PATH

HEAVEN_PATH = 19

Is set when the player uses the beam of light on Womb 2 to go to Cathedral. This does not get unset if Womb 2 is replayed and a trapdoor is taken instead.

Defined in

GameStateFlag.ts:34


REBIRTH_BOSS_SWITCHED

REBIRTH_BOSS_SWITCHED = 20

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:37


HAUNT_SELECTED

HAUNT_SELECTED = 21

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:40


ADVERSARY_SELECTED

ADVERSARY_SELECTED = 22

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:43


MR_FRED_SELECTED

MR_FRED_SELECTED = 23

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:46


MAMA_GURDY_SELECTED

MAMA_GURDY_SELECTED = 24

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:49


URIEL_SPAWNED

URIEL_SPAWNED = 25

Defined in

GameStateFlag.ts:51


GABRIEL_SPAWNED

GABRIEL_SPAWNED = 26

Defined in

GameStateFlag.ts:52


FALLEN_SPAWNED

FALLEN_SPAWNED = 27

Defined in

GameStateFlag.ts:53


HEADLESS_HORSEMAN_SPAWNED

HEADLESS_HORSEMAN_SPAWNED = 28

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:56


KRAMPUS_SPAWNED

KRAMPUS_SPAWNED = 29

Defined in

GameStateFlag.ts:58


DONATION_SLOT_BLOWN

DONATION_SLOT_BLOWN = 30

Defined in

GameStateFlag.ts:59


SHOPKEEPER_KILLED

SHOPKEEPER_KILLED = 31

Defined in

GameStateFlag.ts:60


ULTRA_PRIDE_SPAWNED

ULTRA_PRIDE_SPAWNED = 32

Defined in

GameStateFlag.ts:61


BOSS_RUSH_DONE

BOSS_RUSH_DONE = 33

Defined in

GameStateFlag.ts:62


GREED_SLOT_JAMMED

GREED_SLOT_JAMMED = 34

Defined in

GameStateFlag.ts:63


AFTERBIRTH_BOSS_SWITCHED

AFTERBIRTH_BOSS_SWITCHED = 35

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:66


BROWNIE_SELECTED

BROWNIE_SELECTED = 36

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:69


SUPER_BUM_APPEARED

SUPER_BUM_APPEARED = 37

Defined in

GameStateFlag.ts:71


BOSS_RUSH_DOOR_SPAWNED

BOSS_RUSH_DOOR_SPAWNED = 38

Defined in

GameStateFlag.ts:72


BLUE_WOMB_DOOR_SPAWNED

BLUE_WOMB_DOOR_SPAWNED = 39

Defined in

GameStateFlag.ts:73


BLUE_WOMB_DONE

BLUE_WOMB_DONE = 40

Defined in

GameStateFlag.ts:74


HEART_BOMB_COIN_PICKED

HEART_BOMB_COIN_PICKED = 41

Defined in

GameStateFlag.ts:75


AFTERBIRTH_PLUS_BOSS_SWITCHED

AFTERBIRTH_PLUS_BOSS_SWITCHED = 42

Deprecated

This only works in Afterbirth+, not Repentance.

Defined in

GameStateFlag.ts:78


MAX_COINS_OBTAINED

MAX_COINS_OBTAINED = 43

Set when reaching 99 coins. Used to check for the Golden Razor achievement.

Defined in

GameStateFlag.ts:81


SECRET_PATH

SECRET_PATH = 44

Set when entering a trapdoor that leads to the alternate path.

Defined in

GameStateFlag.ts:84


PERFECTION_SPAWNED

PERFECTION_SPAWNED = 45

Set when Perfection has dropped from a boss.

Defined in

GameStateFlag.ts:87


MAUSOLEUM_HEART_KILLED

MAUSOLEUM_HEART_KILLED = 46

Set when Mom's Heart has been killed in the Mausoleum.

Defined in

GameStateFlag.ts:90


BACKWARDS_PATH_INIT

BACKWARDS_PATH_INIT = 47

Set when entering Mausoleum/Gehenna II through the photo door. Causes Dad's Note to spawn instead of the Mom boss room. The "backwards path" refers to the Ascent.

Defined in

GameStateFlag.ts:96


BACKWARDS_PATH

BACKWARDS_PATH = 48

Set when the player takes Dad's Note. The "backwards path" refers to the Ascent.

Defined in

GameStateFlag.ts:99