◆If:NPC 1 is Dead is OFF
◆Comment:=========================================================
: :Turns off NPC Location Switches.
: :=========================================================
◆Control Switches:#0008..0018 = OFF
◆Comment:=========================================================
: :Stores the last location of a live npc to previous room.
: :=========================================================
◆Control Variables:#0001 NPC 1 Previous Room = NPC 1 Current Room
◆Comment:=======================================================
: :If NPC's current location is the Foyer
: :=======================================================
◆If:NPC 1 Current Room = 1
◆Label:Reroll 1
◆Control Variables:#0181 Randomizer = Random 1..3
◆If:Randomizer = 1
◆Comment:Foyer
◆If:Population :: Foyer = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 1
◆
:End
◆Comment:NPC moved to Foyer.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0008 NPC 1 in Foyer = ON
◆Control Variables:#0002 NPC 1 Current Room = 1
◆Control Variables:#0142 Population :: Foyer += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 1
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 3
◆Comment:Study
◆If:Population :: Study = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 1
◆
:End
◆Comment:NPC moved to Study.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0009 NPC 1 in Study = ON
◆Control Variables:#0002 NPC 1 Current Room = 2
◆Control Variables:#0143 Population :: Study += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Study
: :=======================================================
◆If:NPC 1 Current Room = 2
◆Label:Reroll 2
◆Control Variables:#0181 Randomizer = Random 1..2
◆If:Randomizer = 1
◆Comment:Stay in Study
◆If:Population :: Study = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 2
◆
:End
◆Comment:NPC stayed in Study
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0009 NPC 1 in Study = ON
◆Control Variables:#0002 NPC 1 Current Room = 2
◆Control Variables:#0143 Population :: Study += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Foyer
◆If:Population :: Foyer = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 2
◆
:End
◆Comment:NPC moved to Foyer.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0008 NPC 1 in Foyer = ON
◆Control Variables:#0002 NPC 1 Current Room = 1
◆Control Variables:#0142 Population :: Foyer += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Library
: :=======================================================
◆If:NPC 1 Current Room = 3
◆Label:Reroll 3
◆Control Variables:#0181 Randomizer = Random 1..2
◆If:Randomizer = 1
◆Comment:Library
◆If:Population :: Library = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 3
◆
:End
◆Comment:NPC stayed in Library
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0010 NPC 1 in Library = ON
◆Control Variables:#0002 NPC 1 Current Room = 3
◆Control Variables:#0144 Population :: Library += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 3
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Courtyard
: :=======================================================
◆If:NPC 1 Current Room = 4
◆Label:Reroll 4
◆Control Variables:#0181 Randomizer = Random 1..2
◆If:Randomizer = 1
◆Comment:Courtyard
◆If:Population :: Courtyard = 2
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 4
◆
:End
◆Comment:NPC stayed in the Courtyard
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0011 NPC 1 in Courtyard = ON
◆Control Variables:#0002 NPC 1 Current Room = 4
◆Control Variables:#0145 Population :: Courtyard += 1
◆Comment:====================================================
: :||Special Condition|| :: Wet Clothing ON
: :====================================================
◆Control Switches:#0005 NPC 1 has Wet Clothes = ON
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 4
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Ballroom
: :=======================================================
◆If:NPC 1 Current Room = 5
◆Label:Reroll 5
◆Control Variables:#0181 Randomizer = Random 1..3
◆If:Randomizer = 1
◆Comment:Ballroom
◆If:Population :: Ballroom = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 5
◆
:End
◆Comment:NPC stayed in Ballroom
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0012 NPC 1 in Ballroom = ON
◆Control Variables:#0002 NPC 1 Current Room = 5
◆Control Variables:#0146 Population :: Ballroom += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Kitchen
◆If:Population :: Kitchen = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 5
◆
:End
◆Comment:NPC moved to Kitchen
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0013 NPC 1 in Kitchen = ON
◆Control Variables:#0002 NPC 1 Current Room = 6
◆Control Variables:#0147 Population :: Kitchen += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 3
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 5
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Kitchen
: :=======================================================
◆If:NPC 1 Current Room = 6
◆Label:Reroll 6
◆Control Variables:#0181 Randomizer = Random 1..4
◆If:Randomizer = 1
◆Comment:Kitchen
◆If:Population :: Kitchen = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 6
◆
:End
◆Comment:NPC stayed in Kitchen
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0013 NPC 1 in Kitchen = ON
◆Control Variables:#0002 NPC 1 Current Room = 6
◆Control Variables:#0147 Population :: Kitchen += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Ballroom
◆If:Population :: Ballroom = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 6
◆
:End
◆Comment:NPC moved to Ballroom
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0012 NPC 1 in Ballroom = ON
◆Control Variables:#0002 NPC 1 Current Room = 5
◆Control Variables:#0146 Population :: Ballroom += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 3
◆Comment:Dining Room
◆If:Population :: Dining Room = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 6
◆
:End
◆Comment:NPC moved to Dining Room
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0014 NPC 1 in Dining Room = ON
◆Control Variables:#0002 NPC 1 Current Room = 7
◆Control Variables:#0148 Population :: Dining Room += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 4
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 6
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Dining Room
: :=======================================================
◆If:NPC 1 Current Room = 7
◆Label:Reroll 7
◆Control Variables:#0181 Randomizer = Random 1..3
◆If:Randomizer = 1
◆Comment:Dining Room
◆If:Population :: Dining Room = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 7
◆
:End
◆Comment:NPC moved to Dining Room
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0014 NPC 1 in Dining Room = ON
◆Control Variables:#0002 NPC 1 Current Room = 7
◆Control Variables:#0148 Population :: Dining Room += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Kitchen
◆If:Population :: Kitchen = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 7
◆
:End
◆Comment:NPC stayed in Kitchen
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0013 NPC 1 in Kitchen = ON
◆Control Variables:#0002 NPC 1 Current Room = 6
◆Control Variables:#0147 Population :: Kitchen += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 3
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 7
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Lounge
: :=======================================================
◆If:NPC 1 Current Room = 8
◆Label:Reroll 8
◆Control Variables:#0181 Randomizer = Random 1..3
◆If:Randomizer = 1
◆Comment:Lounge
◆If:Population :: Lounge = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 8
◆
:End
◆Comment:NPC stayed in Lounge.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0015 NPC 1 in Lounge = ON
◆Control Variables:#0002 NPC 1 Current Room = 8
◆Control Variables:#0149 Population :: Lounge += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:=====================================================
: :=====================================================
: :BATHROOM 1 :: Killer sequence?
: :=====================================================
◆If:Pop... :: Bathroom 1 (9) = 1
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 8
◆
:End
◆Comment:NPC moved to Bathroom 1.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0016 NPC 1 in Bathroom 1 = ON
◆Control Variables:#0002 NPC 1 Current Room = 9
◆Control Variables:#0150 Pop... :: Bathroom 1 (9) += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 3
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 8
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Bathroom 1
: :=======================================================
◆If:NPC 1 Current Room = 9
◆Label:Reroll 9
◆Control Variables:#0181 Randomizer = Random 1..2
◆If:Randomizer = 1
◆Comment:=====================================================
: :=====================================================
: :BATHROOM 1 :: Killer sequence?
: :=====================================================
◆If:Pop... :: Bathroom 1 (9) = 1
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 9
◆
:End
◆Comment:NPC moved to Bathroom 1.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0016 NPC 1 in Bathroom 1 = ON
◆Control Variables:#0002 NPC 1 Current Room = 9
◆Control Variables:#0150 Pop... :: Bathroom 1 (9) += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Lounge
◆If:Population :: Lounge = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 9
◆
:End
◆Comment:NPC stayed in Lounge.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0015 NPC 1 in Lounge = ON
◆Control Variables:#0002 NPC 1 Current Room = 8
◆Control Variables:#0149 Population :: Lounge += 1
◆Jump to Label:End
◆
:End
◆
:End
◆Comment:=======================================================
: :If NPC's current location is the Bathroom 2
: :=======================================================
◆If:NPC 1 Current Room = 10
◆Label:Reroll 10
◆Control Variables:#0181 Randomizer = Random 1..2
◆If:Randomizer = 1
◆Comment:Bathroom 2
◆If:Pop... :: Bathroom 2 (10) = 1
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 10
◆
:End
◆Comment:NPC stayed in Bathroom 2
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0017 NPC 1 in Bathroom 2 = ON
◆Control Variables:#0002 NPC 1 Current Room = 10
◆Control Variables:#0151 Pop... :: Bathroom 2 (10) += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 2
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 10
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆
:End
◆If:NPC 1 Current Room = 11
◆Comment:=======================================================
: :If NPC's current location is the Hallway
: :=======================================================
◆Label:Reroll 11
◆Control Variables:#0181 Randomizer = Random 2..9
◆Comment:=======================================================
: :In case functionality is added later the Hallway
: :is set to variable 1. Simply change the random
: :variable to 1 - 7 to allow characters to stay in
: :hallway more than one turn.
: :=======================================================
◆If:Randomizer = 1
◆Comment:Hallway
◆If:Population :: Hallway = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC moved to Hallway.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0018 NPC 1 in Hallway = ON
◆Control Variables:#0002 NPC 1 Current Room = 11
◆Control Variables:#0141 Population :: Hallway += 1
◆Jump to Label:End
◆
:End
◆Comment:=======================================================
: :End Hidden
: :=======================================================
◆If:Randomizer = 2
◆Comment:Foyer
◆If:Population :: Foyer = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC moved to Foyer.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0008 NPC 1 in Foyer = ON
◆Control Variables:#0002 NPC 1 Current Room = 1
◆Control Variables:#0142 Population :: Foyer += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 3
◆Comment:Library
◆If:Population :: Library = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC stayed in Library
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0010 NPC 1 in Library = ON
◆Control Variables:#0002 NPC 1 Current Room = 3
◆Control Variables:#0144 Population :: Library += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 4
◆Comment:Courtyard
◆If:Population :: Courtyard = 2
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:====================================================
: :||Special Condition|| :: Wet Clothing Check
: :====================================================
◆If:NPC 1 has Wet Clothes is ON
◆Comment:This keeps characters who have been outside
: :from going outside twice.
: :**********************************
: :Except the Killer who overrides this function under
: :special circumstances.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC moved to the Courtyard
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0011 NPC 1 in Courtyard = ON
◆Control Variables:#0002 NPC 1 Current Room = 4
◆Control Variables:#0145 Population :: Courtyard += 1
◆Comment:====================================================
: :||Special Condition|| :: Wet Clothing ON
: :====================================================
◆Control Switches:#0005 NPC 1 has Wet Clothes = ON
◆Jump to Label:End
◆
:End
◆If:Randomizer = 5
◆Comment:Ballroom
◆If:Population :: Ballroom = 4
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC stayed in Ballroom
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0012 NPC 1 in Ballroom = ON
◆Control Variables:#0002 NPC 1 Current Room = 5
◆Control Variables:#0146 Population :: Ballroom += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 6
◆Comment:Kitchen
◆If:Population :: Kitchen = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC stayed in Kitchen
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0013 NPC 1 in Kitchen = ON
◆Control Variables:#0002 NPC 1 Current Room = 6
◆Control Variables:#0147 Population :: Kitchen += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 7
◆Comment:Dining Room
◆If:Population :: Dining Room = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC moved to Dining Room
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0014 NPC 1 in Dining Room = ON
◆Control Variables:#0002 NPC 1 Current Room = 7
◆Control Variables:#0148 Population :: Dining Room += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 8
◆Comment:Lounge
◆If:Population :: Lounge = 3
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC stayed in Lounge.
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0015 NPC 1 in Lounge = ON
◆Control Variables:#0002 NPC 1 Current Room = 8
◆Control Variables:#0149 Population :: Lounge += 1
◆Jump to Label:End
◆
:End
◆If:Randomizer = 9
◆Comment:Bathroom 2
◆If:Pop... :: Bathroom 2 (10) = 1
◆Comment:If Max Population is reached, reroll room.
◆Jump to Label:Reroll 11
◆
:End
◆Comment:NPC stayed in Bathroom 2
: :> Sets Switch for map events.
: :> Sets Variable for Killer Behavior.
: :> Increases room population for other NPC Behaviors.
: :> Ends the Behavior function.
◆Control Switches:#0017 NPC 1 in Bathroom 2 = ON
◆Control Variables:#0002 NPC 1 Current Room = 10
◆Control Variables:#0151 Pop... :: Bathroom 2 (10) += 1
◆Jump to Label:End
◆
:End
◆Comment:INSERT NEXT ROOM HERE
◆
:End
◆
:Else
◆Jump to Label:End
◆
:End
◆Comment:=======================================================
: :End of Function
: :=======================================================
◆Label:End