Barebones function 34
Barebones function 34
Function 34: 34:
- Function 34 = Part of jump sequence. Forest console count up timer winning.
Jump sequence name: Forest console count up timer winning.
Barebones function 31, = Function 31 goes on the forest console when using a count up timer for winning console. Has a disable console use to start with after being used once, Sets register 32 which disables quest failure message count up timer. Jumps to function 34.
Barebones function 34, = Disables the use for the forest console for a count up timer winning. Begins the first phase of time attack info conversion. Call function 35.
Barebones function 35, = Second phase of time attack information conversion. Calls function 36
Barebones function 36, = Turns off the clock. Tells the quest giver to now say the winning cinematic speech when encountered. Sets the register choice for threaded function 37.
Barebones function 37, = Threaded when the quest began in function 10500. Constantly checks register 36 and register 37. Option to turn off threaded function 37. Jumps to function 38.
Barebones function 38, = Calls function 39. Sets register to turn off threaded function 37.
Barebones function 39, = Enters cinematic mode stopping players. Unlocks a door (Usually this will be to turn off a laser fence or open a door to a room containing teleporter leading back to pioneer 2/labo.) Displays winning console message. Closes winning console message. Displays time attack information. Exits cinematic mode returning control to the player.
Barebones function 1, = Used to end threads or functions.
Function 34 is used to disable the use for the forest console for a count up timer winning. Begins the first phase of time attack info conversion. Call function 35.
How the function appears in the script
34: sync //Waits 1 frame. sync_register R31, 00000001 //Makes register 31 equal 00000001 for all players. sync_register R30, 00000000 //Makes register 30 equal 00000000 for all players. sync_register R114, R114 //Makes register 114 equal register 114 for all players. let R116, R114 //Copies register 114's value to register 116. let R117, R114 //Copies register 114's value to register 117. let R118, R114 //Copies register 114's value to register 118. call 35 //Calls function 35. ret