Difference between revisions of "Barebones function 23"
Japanaman2 (Talk | contribs) |
Japanaman2 (Talk | contribs) |
||
Line 33: | Line 33: | ||
<span style='color:red'> sync_register </span>R109, 00000001 <span style='color:orange'>//Makes register 109 equal 00000001 for all players.</span> | <span style='color:red'> sync_register </span>R109, 00000001 <span style='color:orange'>//Makes register 109 equal 00000001 for all players.</span> | ||
<span style='color:green'> p_disablewarp </span> <span style='color:orange'>//Makes telepipes and ryuker un-use-able as well as removing any telepipes that may currently exist.</span> | <span style='color:green'> p_disablewarp </span> <span style='color:orange'>//Makes telepipes and ryuker un-use-able as well as removing any telepipes that may currently exist.</span> | ||
− | <span style='color:green'> warp_off </span> <span style='color:orange'>//Disables access to the main ragol teleporter, principals office, lab area, and any warps you may have placed | + | <span style='color:green'> warp_off </span> <span style='color:orange'>//Disables access to the main ragol teleporter, principals office, lab area, and any warps you may have placed.</span> |
<span style='color:green'> window_msg </span>Time is up! <span style='color:orange'>//Displays a window message.</span> | <span style='color:green'> window_msg </span>Time is up! <span style='color:orange'>//Displays a window message.</span> | ||
<span style='color:green'> winend </span> <span style='color:orange'>//Closes a window message.</span> | <span style='color:green'> winend </span> <span style='color:orange'>//Closes a window message.</span> |
Revision as of 03:30, 17 March 2013
Contents
Barebones function 23
Function 23: 23:
- Function 23 = Part of thread. Quest failed countdown timer.
Functions contained in this thread in order of activation.
Name of thread: Quest failed countdown timer.
Barebones function 60, = Threads 22.
Barebones function 22, = Jumps to function 23.
Barebones function 23, = Makes function 1, or function 1000 happen.
Barebones function 10000, = Makes function 11500 happen.
Barebones function 11500, = Makes function 1005 happen.
Barebones function 1005 = Makes function 1 happen
Barebones function 1, = Ends the thread.
Use
Function 23 is used to set up and preform a final check for quest failure for quests that use the count down timer.
How the function appears in the script
23: sync //Waits 1 frame.
jmpi_= R22, 00000001, 1 //If Register 22 equals 00000001 jump to function 1.
call 222 //Calls function 222.
freeze_enemies //Freezes all the enemies making them not move as well as making all enemies un-target-able.
sync_register R98, 00000001 //Makes register 98 equal 00000001 for all players.
sync_register R109, 00000001 //Makes register 109 equal 00000001 for all players.
p_disablewarp //Makes telepipes and ryuker un-use-able as well as removing any telepipes that may currently exist.
warp_off //Disables access to the main ragol teleporter, principals office, lab area, and any warps you may have placed.
window_msg Time is up! //Displays a window message.
winend //Closes a window message.
fsdeout //Makes the camera fade to black.
unfreeze_enemies //Restores enemy movement and makes the enemies target able again.
leti R97, 00000000 //Makes register 97 equal 00000000.
go_floor R250, R97 //Sends the players back to floor 0.
ret
Also see
sync, jmpi_=, call, freeze_enemies, sync_register,
p_disablewarp, warp_off, window_msg, winend, fadeout,
unfreeze_enemies, leti, go_floor, ret,
Barebones function 60, Barebones function 22, Barebones function 10000,
Barebones function 11500, Barebones function 1005, Barebones function 1,