Difference between revisions of "Barebones function 28"
Japanaman2 (Talk | contribs) |
Japanaman2 (Talk | contribs) |
||
Line 29: | Line 29: | ||
<span style='font-size:12px;font-family:courier'> | <span style='font-size:12px;font-family:courier'> | ||
<span style='color:blue'>28: </span><span style='color:green'>sync </span> <span style='color:orange'>//Waits 1 frame.</span> | <span style='color:blue'>28: </span><span style='color:green'>sync </span> <span style='color:orange'>//Waits 1 frame.</span> | ||
− | <span style='color:green'> call </span>29 <span style='color:orange'>// | + | <span style='color:green'> call </span>29 <span style='color:orange'>//Calls function 29.</span> |
<span style='color:red'> sync_register </span>R27, 00000001 <span style='color:orange'>//Makes register 27 equal register 00000001 for all players.</span> | <span style='color:red'> sync_register </span>R27, 00000001 <span style='color:orange'>//Makes register 27 equal register 00000001 for all players.</span> | ||
<span style='color:green'> ret </span> | <span style='color:green'> ret </span> |
Latest revision as of 10:03, 18 March 2013
Contents
Barebones function 28
Function 28: 28:
- Function 28 = Part of jump sequence. Forest console count down timer winning.
Jump sequence
Jump sequence name: Forest console count down timer winning.
Barebones function 21, = Function 21 goes on the forest console when using a count down timer for winning console. Has a disable console use to start with after being used once, Sets register 22 which disables quest failure message count down timer. Jumps to function 24.
Barebones function 24, = Disables the use for the forest console for a count down timer winning. Begins the first phase of time attack info conversion. Call function 25.
Barebones function 25, = Second phase of time attack information conversion. Calls function 26
Barebones function 26, = Turns off the clock. Tells the quest giver to now say the winning cinematic speech when encountered. Sets the register choice for threaded function 27.
Barebones function 27, = Threaded when the quest began in function 10500. Constantly checks register 26 and register 27. Option to turn off threaded function 27. Jumps to function 28.
Barebones function 28, = Calls function 29. Sets register to turn off threaded function 27.
Barebones function 29, = 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.
Use
Function 28 calls function 29. Sets register to turn off threaded function 27.
How the function appears in the script
28: sync //Waits 1 frame.
call 29 //Calls function 29.
sync_register R27, 00000001 //Makes register 27 equal register 00000001 for all players.
ret
Also see
sync, call, sync_register, ret, Barebones function 1,
Barebones function 21, Barebones function 24, Barebones function 25,
Barebones function 26, Barebones function 10500, Barebones function 27,