toontown-ceiling/phase_3/etc/QuestScripts.txt
2024-07-14 12:39:41 -05:00

1163 lines
36 KiB
Text

# NOTE: \a is the delimiter for chat pages
# Quest ids can be found in Quests.py
ID reward_100
SHOW laffMeter
LERP_POS laffMeter 0 0 0 1
LERP_SCALE laffMeter 0.2 0.2 0.2 1
WAIT 1.5
ADD_LAFFMETER 1
WAIT 1
LERP_POS laffMeter -1.18 0 -0.87 1
LERP_SCALE laffMeter 0.075 0.075 0.075 1
WAIT 1
FINISH_QUEST_MOVIE
ID tutorial_mickey
LOAD_SFX soundRun "phase_3.5/audio/sfx/AV_footstep_runloop.wav"
LOCK_LOCALTOON
REPARENTTO camera render
POSHPRSCALE camera 11 7 3 52 0 0 1 1 1
POS localToon 0 0 0
HPR localToon 0 0 0
WAIT 2
PLAY_SFX soundRun 1
LOOP_ANIM localToon "run"
LERP_POS localToon -1.8 14.4 0 2
WAIT 2
STOP_SFX soundRun
LOOP_ANIM localToon "neutral"
REPARENTTO camera localToon
POS localToon 1.6 9.8 0
#HPR localToon 14 0 0
FREE_LOCALTOON
LOCAL_CHAT_PERSIST npc QuestScriptTutorialMickey_4
ID quest_assign_101
CLEAR_CHAT npc
LOAD squirt1 "phase_3.5/models/gui/tutorial_gui" "squirt1"
LOAD squirt2 "phase_3.5/models/gui/tutorial_gui" "squirt2"
LOAD toonBuilding "phase_3.5/models/gui/tutorial_gui" "toon_buildings"
LOAD cogBuilding "phase_3.5/models/gui/tutorial_gui" "suit_buildings"
LOAD cogs "phase_3.5/models/gui/tutorial_gui" "suits"
LOAD tart "phase_3.5/models/props/ttr_m_prp_bat_pie"
LOAD flower "phase_3.5/models/props/squirting-flower"
LOAD_DIALOGUE tomDialogue_01 "phase_3.5/audio/dial/CC_tom_tutorial_questscript01.mp3"
LOAD_DIALOGUE tomDialogue_02 "phase_3.5/audio/dial/CC_tom_tutorial_questscript03.mp3"
LOAD_DIALOGUE tomDialogue_03 "phase_3.5/audio/dial/CC_tom_tutorial_questscript04.mp3"
LOAD_DIALOGUE tomDialogue_04 "phase_3.5/audio/dial/CC_tom_tutorial_questscript05.mp3"
LOAD_DIALOGUE tomDialogue_05 "phase_3.5/audio/dial/CC_tom_tutorial_questscript06.mp3"
LOAD_DIALOGUE tomDialogue_06 "phase_3.5/audio/dial/CC_tom_tutorial_questscript07.mp3"
LOAD_DIALOGUE tomDialogue_07 "phase_3.5/audio/dial/CC_tom_tutorial_questscript08.mp3"
LOAD_DIALOGUE tomDialogue_08 "phase_3.5/audio/dial/CC_tom_tutorial_questscript09.mp3"
LOAD_DIALOGUE tomDialogue_09 "phase_3.5/audio/dial/CC_tom_tutorial_questscript10.mp3"
LOAD_DIALOGUE tomDialogue_10 "phase_3.5/audio/dial/CC_tom_tutorial_questscript11.mp3"
LOAD_DIALOGUE tomDialogue_11 "phase_3.5/audio/dial/CC_tom_tutorial_questscript12.mp3"
LOAD_DIALOGUE tomDialogue_12 "phase_3.5/audio/dial/CC_tom_tutorial_questscript13.mp3"
LOAD_DIALOGUE tomDialogue_13 "phase_3.5/audio/dial/CC_tom_tutorial_questscript14.mp3"
LOAD_DIALOGUE tomDialogue_14 "phase_3.5/audio/dial/CC_tom_tutorial_questscript16.mp3"
POSHPRSCALE cogs -1.05 7 0 0 0 0 1 1 1
POSHPRSCALE toonBuilding -1.05 7 0 0 0 0 1.875 1.875 1.875
POSHPRSCALE cogBuilding -1.05 7 0 0 0 0 1.875 1.875 1.875
POSHPRSCALE squirt1 -1.05 7 0 0 0 0 1.875 1.875 1.875
POSHPRSCALE squirt2 -1.05 7 0 0 0 0 1.875 1.875 1.875
WRTREPARENTTO camera npc
LERP_POSHPRSCALE camera 2.8 0.0 3.3 35 5 0 1 1 1 1.5
WRTREPARENTTO camera localToon
PLAY_ANIM npc "right-hand-start" 1
WAIT 1
REPARENTTO cogs camera
LERP_SCALE cogs 1.875 1.875 1.875 0.5
WAIT 1.0833
LOOP_ANIM npc "right-hand" 1
LOCAL_FUNCTION npc "angryEyes"
LOCAL_FUNCTION npc "blinkEyes"
SET_NAMETAG_SCALE npc 0.8
LOCAL_CHAT_CONFIRM npc QuestScript101_1 "CFReversed" tomDialogue_01
LOCAL_CHAT_CONFIRM npc QuestScript101_2 "CFReversed" tomDialogue_02
REPARENTTO cogs hidden
REPARENTTO toonBuilding camera
LOCAL_CHAT_CONFIRM npc QuestScript101_3 "CFReversed" tomDialogue_03
REPARENTTO toonBuilding hidden
REPARENTTO cogBuilding camera
LOCAL_FUNCTION npc "sadEyes"
LOCAL_FUNCTION npc "blinkEyes"
LOCAL_CHAT_CONFIRM npc QuestScript101_4 "CFReversed" tomDialogue_04
REPARENTTO cogBuilding hidden
REPARENTTO squirt1 camera
LOCAL_FUNCTION npc "normalEyes"
LOCAL_FUNCTION npc "blinkEyes"
LOCAL_CHAT_CONFIRM npc QuestScript101_5 "CFReversed" tomDialogue_05
REPARENTTO squirt1 hidden
REPARENTTO squirt2 camera
LOCAL_CHAT_CONFIRM npc QuestScript101_6 "CFReversed" tomDialogue_06
PLAY_ANIM npc 'right-hand-start' -1.8
LERP_SCALE squirt2 1 1 0.01 0.5
WAIT 0.5
REPARENTTO squirt2 hidden
WAIT 0.6574
LOOP_ANIM npc 'neutral' 1
LOCAL_CHAT_CONFIRM npc QuestScript101_7 "CFReversed" tomDialogue_07
# Make it look like the client has no inventory. Since the toon.dc
# specifies that the user really does have 1 of each item, we will
# just put on a show for the client of not having any items then
# handing them out.
SET_INVENTORY 4 0 0
SET_INVENTORY 5 0 0
REPARENTTO inventory camera
SHOW inventory
HIDE_SHTICKY_NOTES
SET_INVENTORY_DETAIL -1
POSHPRSCALE inventory -0.77 7.42 1.11 0 0 0 .01 .01 .01
SET_INVENTORY_YPOS 4 0 -2
SET_INVENTORY_YPOS 5 0 -2
LERP_SCALE inventory 3 .01 3 1
WAIT 1
REPARENTTO flower npc "**/1000/**/def_joint_right_hold"
POSHPRSCALE flower 0.10 -0.14 0.20 180.00 287.10 168.69 0.70 0.70 0.70
PLAY_ANIM npc 'right-hand-start' 1.8
WAIT 1.1574
LOOP_ANIM npc 'right-hand' 1.1
WAIT 0.8
WRTREPARENTTO flower camera
LERP_POSHPRSCALE flower -1.75 4.77 0.00 30.00 180.00 16.39 0.75 0.75 0.75 0.589
WAIT 1.094
LERP_POSHPRSCALE flower -1.76 7.42 -0.63 179.96 -89.9 -153.43 0.12 0.12 0.12 1
PLAY_ANIM npc 'right-hand-start' -1.5
WAIT 1
ADD_INVENTORY 5 0 1
POSHPRSCALE inventory -0.77 7.42 1.11 0 0 0 3 .01 3
REPARENTTO flower hidden
REPARENTTO tart npc "**/1000/**/def_joint_right_hold"
POSHPRSCALE tart 0.15 0.02 0.05 0.00 0.00 0.00 0.34 0.34 0.34
PLAY_ANIM npc 'right-hand-start' 1.8
WAIT 1.1574
LOOP_ANIM npc 'right-hand' 1.1
WAIT 0.8
WRTREPARENTTO tart camera
LERP_POSHPRSCALE tart -1.37 4.56 0 329.53 39.81 346.76 0.6 0.6 0.6 0.589
WAIT 1.094
LERP_POSHPRSCALE tart -1.66 7.42 -0.36 0 30 30 0.12 0.12 0.12 1.0
PLAY_ANIM npc 'right-hand-start' -1.5
WAIT 1
ADD_INVENTORY 4 0 1
POSHPRSCALE inventory -0.77 7.42 1.11 0 0 0 3 .01 3
REPARENTTO tart hidden
#PLAY_ANIM npc 'neutral' 1
#WAIT 2.0833
PLAY_ANIM npc 'right-hand-start' 1
WAIT 1.0
SHOW_SHTICKY_NOTES
HIDE inventory
REPARENTTO inventory hidden
SET_INVENTORY_YPOS 4 0 0
SET_INVENTORY_YPOS 5 0 0
SET_INVENTORY_DETAIL 0
POSHPRSCALE inventory 0 0 0 0 0 0 1 1 1
OBSCURE_LAFFMETER 0
SHOW laffMeter
POS laffMeter 0.153 0.0 0.13
SCALE laffMeter 0.0 0.0 0.0
WRTREPARENTTO laffMeter aspect2d
LERP_POS laffMeter -0.35 0 -0.3 1
LERP_SCALE laffMeter 0.17 0.17 0.17 0.6
WAIT 1.0833
LOOP_ANIM npc "right-hand"
LOCAL_CHAT_CONFIRM npc QuestScript101_8 "CFReversed" tomDialogue_08
LOCAL_CHAT_CONFIRM npc QuestScript101_9 "CFReversed" tomDialogue_09
LOCAL_FUNCTION npc "sadEyes"
LOCAL_FUNCTION npc "blinkEyes"
LAFFMETER 15 15
WAIT 0.1
LAFFMETER 14 15
WAIT 0.1
LAFFMETER 13 15
WAIT 0.1
LAFFMETER 12 15
WAIT 0.1
LAFFMETER 11 15
WAIT 0.1
LAFFMETER 10 15
WAIT 0.1
LAFFMETER 9 15
WAIT 0.1
LAFFMETER 8 15
WAIT 0.1
LAFFMETER 7 15
WAIT 0.1
LAFFMETER 6 15
WAIT 0.1
LAFFMETER 5 15
WAIT 0.1
LAFFMETER 4 15
WAIT 0.1
LAFFMETER 3 15
WAIT 0.1
LAFFMETER 2 15
WAIT 0.1
LAFFMETER 1 15
WAIT 0.1
LAFFMETER 0 15
LOCAL_CHAT_CONFIRM npc QuestScript101_10 "CFReversed" tomDialogue_10
LOCAL_FUNCTION npc "normalEyes"
LOCAL_FUNCTION npc "blinkEyes"
LAFFMETER 15 15
WRTREPARENTTO laffMeter bottomLeft
WAIT 0.5
LERP_POS laffMeter 0.15 0.0 0.13 0.6
LERP_SCALE laffMeter 0.075 0.075 0.075 0.6
PLAY_ANIM npc "right-hand-start" -2
WAIT 1.0625
LOOP_ANIM npc "neutral"
WAIT 0.5
LERP_HPR npc -50 0 0 0.5
LOCAL_FUNCTION npc "surpriseEyes"
PLAY_ANIM npc "right-point-start" 1.5
WAIT 0.6944
LOOP_ANIM npc "right-point"
LOCAL_CHAT_CONFIRM npc QuestScript101_11 "CFReversed" tomDialogue_11
LOCAL_CHAT_CONFIRM npc QuestScript101_12 "CFReversed" tomDialogue_12
PLAY_ANIM npc "right-point-start" -1
LERP_HPR npc -0.068 0 0 0.75
WAIT 1.0417
LOCAL_FUNCTION npc "angryEyes"
LOCAL_FUNCTION npc "blinkEyes"
LOOP_ANIM npc "neutral"
LOCAL_FUNCTION localToon "questPage.showQuestsOnscreenTutorial"
LOCAL_CHAT_CONFIRM npc QuestScript101_13 "CFReversed" tomDialogue_13
LOCAL_FUNCTION localToon "questPage.hideQuestsOnscreenTutorial"
LOCAL_C_CHAT_CONFIRM npc QuestScript101_14 1 "CFReversed" tomDialogue_14
LOCAL_FUNCTION npc "normalEyes"
LOCAL_FUNCTION npc "blinkEyes"
# Cleanup
SET_NAMETAG_SCALE npc 1.0
UPON_TIMEOUT LOCAL_FUNCTION tart "removeNode"
UPON_TIMEOUT LOCAL_FUNCTION flower "removeNode"
UPON_TIMEOUT LOCAL_FUNCTION cogs "removeNode"
UPON_TIMEOUT LOCAL_FUNCTION toonBuilding "removeNode"
UPON_TIMEOUT LOCAL_FUNCTION cogBuilding "removeNode"
UPON_TIMEOUT LOCAL_FUNCTION squirt1 "removeNode"
UPON_TIMEOUT LOCAL_FUNCTION squirt2 "removeNode"
UPON_TIMEOUT LOOP_ANIM npc "neutral"
UPON_TIMEOUT HIDE inventory
UPON_TIMEOUT SET_INVENTORY_DETAIL 0
UPON_TIMEOUT SHOW laffMeter
UPON_TIMEOUT REPARENTTO laffMeter bottomLeft
UPON_TIMEOUT POS laffMeter 0.15 0 0.13
UPON_TIMEOUT SCALE laffMeter 0.075 0.075 0.075
UPON_TIMEOUT POSHPRSCALE inventory 0 0 0 0 0 0 1 1 1
# This will reset the Laff Meter to what it's supposed to be at.
ADD_LAFFMETER 0
POS localToon 0.776 14.6 0
HPR localToon 47.5 0 0
SET_NAMETAG_SCALE npc 1.0
FINISH_QUEST_MOVIE
ID quest_assign_102
CALL quest_assign_101
ID quest_assign_110
DEBUG "quest assign 110"
LOAD_DIALOGUE harryDialogue_01 "phase_3.5/audio/dial/CC_harry_tutorial_questscript01.mp3"
LOAD_DIALOGUE harryDialogue_02 "phase_3.5/audio/dial/CC_harry_tutorial_questscript02.mp3"
LOAD_DIALOGUE harryDialogue_03 "phase_3.5/audio/dial/CC_harry_tutorial_questscript03.mp3"
LOAD_DIALOGUE harryDialogue_04 "phase_3.5/audio/dial/CC_harry_tutorial_questscript04.mp3"
LOAD_DIALOGUE harryDialogue_05 "phase_3.5/audio/dial/CC_harry_tutorial_questscript05.mp3"
LOAD_DIALOGUE harryDialogue_06 "phase_3.5/audio/dial/CC_harry_tutorial_questscript06.mp3"
LOAD_DIALOGUE harryDialogue_07 "phase_3.5/audio/dial/CC_harry_tutorial_questscript07.mp3"
LOAD_DIALOGUE harryDialogue_08 "phase_3.5/audio/dial/CC_harry_tutorial_questscript08.mp3"
LOAD_DIALOGUE harryDialogue_09 "phase_3.5/audio/dial/CC_harry_tutorial_questscript09.mp3"
LOAD_DIALOGUE harryDialogue_10 "phase_3.5/audio/dial/CC_harry_tutorial_questscript10.mp3"
LOAD_DIALOGUE harryDialogue_11 "phase_3.5/audio/dial/CC_harry_tutorial_questscript11.mp3"
SET_MUSIC_VOLUME 0.4 activityMusic 0.5 0.7
WRTREPARENTTO camera npc
LERP_POSHPRSCALE camera 2.8 0.0 3.3 35 5 0 1 1 1 1.5
WRTREPARENTTO camera localToon
WAIT 1.5
SET_NAMETAG_SCALE npc 0.8
LOCAL_C_CHAT_CONFIRM npc QuestScript110_1 "CFReversed" harryDialogue_01
PLAY_ANIM npc "right-hand-start" 1.5
WAIT 0.5
HIDE settingsButton
OBSCURE_BOOK 0
REPARENTTO bookOpenButton aspect2d
SHOW bookOpenButton
POS bookOpenButton -0.4 0 -0.3
SCALE bookOpenButton 0.6 0.6 0.6
LERP_COLOR_SCALE bookOpenButton 1 1 1 0 1 1 1 1 0.5
WAIT 0.8
LOOP_ANIM npc "right-hand"
LOCAL_CHAT_CONFIRM npc QuestScript110_2 "CFReversed" harryDialogue_02
PLAY_ANIM npc 'right-hand-start' -1.8
WRTREPARENTTO bookOpenButton bottomRight
LERP_POS bookOpenButton -0.158 0 0.17 1
LERP_SCALE bookOpenButton 0.305 0.305 0.305 1
WAIT 1.1
LOOP_ANIM npc 'neutral' 1
REPARENTTO arrows bottomRight
ARROWS_ON -0.41 0.11 0 -0.11 0.36 90
LOCAL_CHAT_PERSIST npc QuestScript110_3 "CFReversed" harryDialogue_03
WAIT_EVENT "enterStickerBook"
ARROWS_OFF
SHOW_BOOK
HIDE bookPrevArrow
HIDE bookNextArrow
CLEAR_CHAT npc
WAIT 0.5
TOON_HEAD npc -0.2 -0.45 1
LOCAL_CHAT_CONFIRM npc QuestScript110_4 "CFReversed" harryDialogue_04
REPARENTTO arrows aspect2d
ARROWS_ON 0.85 -0.75 -90 0.85 -0.75 -90
SHOW bookNextArrow
LOCAL_CHAT_PERSIST npc QuestScript110_5 "CFReversed" harryDialogue_05
WAIT_EVENT "stickerBookPageChange-3"
HIDE bookPrevArrow
HIDE bookNextArrow
ARROWS_OFF
CLEAR_CHAT npc
WAIT 0.5
LOCAL_CHAT_CONFIRM npc QuestScript110_6 "CFReversed" harryDialogue_06
ARROWS_ON 0.85 -0.75 -90 0.85 -0.75 -90
SHOW bookNextArrow
LOCAL_CHAT_PERSIST npc QuestScript110_7 "CFReversed" harryDialogue_07
WAIT_EVENT "stickerBookPageChange-4"
HIDE bookNextArrow
HIDE bookPrevArrow
ARROWS_OFF
CLEAR_CHAT npc
LOCAL_CHAT_CONFIRM npc QuestScript110_8 "CFReversed" harryDialogue_08
LOCAL_CHAT_CONFIRM npc QuestScript110_9 "CFReversed" harryDialogue_09
LOCAL_CHAT_PERSIST npc QuestScript110_10 "CFReversed" harryDialogue_10
ENABLE_CLOSE_BOOK
REPARENTTO arrows bottomRight
ARROWS_ON -0.41 0.11 0 -0.11 0.36 90
WAIT_EVENT "exitStickerBook"
ARROWS_OFF
TOON_HEAD npc 0 0 0
HIDE_BOOK
HIDE bookOpenButton
LOCAL_CHAT_CONFIRM npc QuestScript110_11 1 "CFReversed" harryDialogue_11
SET_MUSIC_VOLUME 0.7 activityMusic 1.0 0.4
# Lots of cleanup
SET_NAMETAG_SCALE npc 1.0
UPON_TIMEOUT DEBUG "testing upon death"
UPON_TIMEOUT OBSCURE_BOOK 0
UPON_TIMEOUT ARROWS_OFF
UPON_TIMEOUT REPARENTTO arrows aspect2d
UPON_TIMEOUT HIDE_BOOK
UPON_TIMEOUT COLOR_SCALE bookOpenButton 1 1 1 1
UPON_TIMEOUT POS bookOpenButton -0.158 0 0.17
UPON_TIMEOUT SCALE bookOpenButton 0.305 0.305 0.305
UPON_TIMEOUT TOON_HEAD npc 0 0 0
UPON_TIMEOUT SHOW bookOpenButton
UPON_TIMEOUT SHOW settingsButton
FINISH_QUEST_MOVIE
ID tutorial_blocker
LOAD_DIALOGUE blockerDialogue_01 "phase_3.5/audio/dial/CC_flippy_tutorial_blocker01.mp3"
LOAD_DIALOGUE blockerDialogue_02 "phase_3.5/audio/dial/CC_flippy_tutorial_blocker02.mp3"
LOAD_DIALOGUE blockerDialogue_03 "phase_3.5/audio/dial/CC_flippy_tutorial_blocker03.mp3"
LOAD_DIALOGUE blockerDialogue_04 "phase_3.5/audio/dial/CC_flippy_tutorial_blocker04.mp3"
LOAD_DIALOGUE blockerDialogue_05a "phase_3.5/audio/dial/CC_flippy_tutorial_blocker05.mp3"
LOAD_DIALOGUE blockerDialogue_05b "phase_3.5/audio/dial/CC_flippy_tutorial_blocker06.mp3"
LOAD_DIALOGUE blockerDialogue_06 "phase_3.5/audio/dial/CC_flippy_tutorial_blocker07.mp3"
LOAD_DIALOGUE blockerDialogue_07 "phase_3.5/audio/dial/CC_flippy_tutorial_blocker08.mp3"
LOAD_DIALOGUE blockerDialogue_08 "phase_3.5/audio/dial/CC_flippy_tutorial_blocker09.mp3"
HIDE localToon
REPARENTTO camera npc
LOCAL_FUNCTION npc "stopLookAround"
POS camera 0.0 6.0 4.0
HPR camera 180.0 0.0 0.0
SET_MUSIC_VOLUME 0.4 music 0.5 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialBlocker_1 blockerDialogue_01
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialBlocker_2 blockerDialogue_02
WAIT 0.8
POS camera -5.0 -9.0 6.0
HPR camera -25.0 -10.0 0.0
POS localToon 203.8 18.64 -0.475
HPR localToon -90.0 0.0 0.0
SHOW localToon
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialBlocker_3 blockerDialogue_03
OBSCURE_CHAT 1 0
REPARENTTO chatScButton aspect2d
SHOW chatScButton
POS chatScButton -0.3 0 -0.1
SCALE chatScButton 2.0 2.0 2.0
LERP_COLOR_SCALE chatScButton 1 1 1 0 1 1 1 1 0.5
WRTREPARENTTO chatScButton topLeft
WAIT 0.5
LERP_POS chatScButton 0.204 0 -0.072 0.6
LERP_SCALE chatScButton 1.179 1.179 1.179 0.6
WAIT 0.6
REPARENTTO arrows topLeft
ARROWS_ON 0.41 -0.09 180 0.21 -0.26 -90
LOCAL_CHAT_PERSIST npc QuestScriptTutorialBlocker_4 blockerDialogue_04
WAIT_EVENT "enterSpeedChat"
ARROWS_OFF
BLACK_CAT_LISTEN 1
WAIT_EVENT "SCChatEvent"
BLACK_CAT_LISTEN 0
WAIT 0.5
CLEAR_CHAT localToon
REPARENTTO camera localToon
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialBlocker_5 "CFReversed" blockerDialogue_05a blockerDialogue_05b
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialBlocker_6 "CFReversed" blockerDialogue_06
OBSCURE_CHAT 0 0
REPARENTTO chatNormalButton aspect2d
SHOW chatNormalButton
POS chatNormalButton -0.3 0 -0.1
SCALE chatNormalButton 2.0 2.0 2.0
LERP_COLOR_SCALE chatNormalButton 1 1 1 0 1 1 1 1 0.5
WAIT 0.5
WRTREPARENTTO chatNormalButton topLeft
LERP_POS chatNormalButton 0.068 0 -0.072 0.6
LERP_SCALE chatNormalButton 1.179 1.179 1.179 0.6
WAIT 0.6
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialBlocker_7 "CFReversed" blockerDialogue_07
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialBlocker_8 1 "CFReversed" blockerDialogue_08
SET_MUSIC_VOLUME 0.8 music 1.0 0.4
LOOP_ANIM npc "walk"
LERP_HPR npc 270 0 0 0.5
WAIT 0.5
LOOP_ANIM npc "run"
LERP_POS npc 217.4 18.81 -0.475 0.75
LERP_HPR npc 240 0 0 0.75
WAIT 0.75
LERP_POS npc 222.4 15.0 -0.475 0.35
LERP_HPR npc 180 0 0 0.35
WAIT 0.35
LERP_POS npc 222.4 5.0 -0.475 0.75
WAIT 0.75
REPARENTTO npc hidden
FREE_LOCALTOON
UPON_TIMEOUT ARROWS_OFF
UPON_TIMEOUT REPARENTTO arrows aspect2d
UPON_TIMEOUT POS chatScButton 0.204 0 -0.072
UPON_TIMEOUT SCALE chatScButton 1.179 1.179 1.179
UPON_TIMEOUT POS chatNormalButton 0.068 0 -0.072
UPON_TIMEOUT SCALE chatNormalButton 1.179 1.179 1.179
UPON_TIMEOUT OBSCURE_CHAT 0 0
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID gag_intro
SEND_EVENT "disableGagPanel"
SEND_EVENT "disableBackToPlayground"
HIDE inventory
HIDE gagShopFrame
TOON_HEAD npc 0 0 1
WAIT .1
# Welcome to the Gag Shop!
LOCAL_CHAT_CONFIRM npc QuestScriptGagShop_1
LERP_POS npcToonHead -.7 0 -.7 .7
LERP_SCALE npcToonHead .82 .82 .82 .7
LERP_COLOR_SCALE purchaseBg 1 1 1 1 .6 .6 .6 1 .7
WAIT .7
SHOW inventory
SHOW gagShopFrame
LOCAL_CHAT_CONFIRM npc QuestScriptGagShop_1a
## here's your jb jar
#ARROWS_ON -1.22 0.09 0 -.93 -.2 -90
#LOCAL_CHAT_CONFIRM npc QuestScriptGagShop_2
#ARROWS_OFF
# try buying a gag
ARROWS_ON -0.15 -0.18 180 -0.33 0.1 90
LOCAL_CHAT_PERSIST npc QuestScriptGagShop_3
SEND_EVENT "enableGagPanel"
WAIT_EVENT "inventory-selection"
ARROWS_OFF
CLEAR_CHAT npc
WAIT .5
LOCAL_CHAT_CONFIRM npc QuestScriptGagShop_4
# show advanced throw & squirt gags
LOCAL_CHAT_PERSIST npc QuestScriptGagShop_5
WAIT .5
SHOW_THROW_SQUIRT_PREVIEW
CLEAR_CHAT npc
WAIT .5
# show "Exit Back To Playground" button
SET_BIN backToPlaygroundButton "gui-popup"
LERP_SCALE backToPlaygroundButton 1.15 1.15 1.15 1.0
LERP_COLOR_SCALE backToPlaygroundButton 1 1 1 1 2.78 2.78 2.78 1 .5
LERP_COLOR_SCALE inventory 1 1 1 1 .6 .6 .6 1 .5
LERP_COLOR_SCALE gagShopFrame 1 1 1 1 .6 .6 .6 1 .5
WAIT 1.0
START_THROB backToPlaygroundButton 1.15 1.15 1.15 1.1 1.1 1.1 2
LOCAL_CHAT_CONFIRM npc QuestScriptGagShop_6
STOP_THROB
LERP_SCALE backToPlaygroundButton 1.0 1.0 1.0 1.0
LERP_COLOR_SCALE backToPlaygroundButton 2.78 2.78 2.78 1 1 1 1 1 .5
WAIT 1.0
CLEAR_BIN backToPlaygroundButton
# show "Play Again" button
SET_BIN playAgainButton "gui-popup"
LERP_SCALE playAgainButton 1.15 1.15 1.15 1.0
LERP_COLOR_SCALE playAgainButton 1 1 1 1 2.78 2.78 2.78 1 .5
WAIT 1.0
START_THROB playAgainButton 1.15 1.15 1.15 1.1 1.1 1.1 2
LOCAL_CHAT_CONFIRM npc QuestScriptGagShop_7
STOP_THROB
LERP_SCALE playAgainButton 1.0 1.0 1.0 1.0
LERP_COLOR_SCALE playAgainButton 2.78 2.78 2.78 1 1 1 1 1 .5
WAIT 1.0
CLEAR_BIN playAgainButton
# You're needed in Toon HQ!
LOCAL_CHAT_CONFIRM npc QuestScriptGagShop_8 1
TOON_HEAD npc 0 0 0
LERP_COLOR_SCALE inventory .6 .6 .6 1 1 1 1 1 .5
LERP_COLOR_SCALE gagShopFrame .6 .6 .6 1 1 1 1 1 .5
LERP_COLOR_SCALE purchaseBg .6 .6 .6 1 1 1 1 1 .5
WAIT .5
SEND_EVENT "enableBackToPlayground"
UPON_TIMEOUT TOON_HEAD npc 0 0 0
UPON_TIMEOUT ARROWS_OFF
UPON_TIMEOUT SHOW inventory
UPON_TIMEOUT SHOW gagShopFrame
UPON_TIMEOUT SEND_EVENT "enableGagPanel"
UPON_TIMEOUT SEND_EVENT "enableBackToPlayground"
ID quest_assign_120
CHAT_CONFIRM npc QuestScript120_1
# ANIM
CHAT_CONFIRM npc QuestScript120_2 1
FINISH_QUEST_MOVIE
ID quest_assign_121
CHAT_CONFIRM npc QuestScript121_1 1
FINISH_QUEST_MOVIE
ID quest_assign_130
CHAT_CONFIRM npc QuestScript130_1 1
FINISH_QUEST_MOVIE
ID quest_assign_131
CHAT_CONFIRM npc QuestScript131_1 1
FINISH_QUEST_MOVIE
ID quest_assign_140
CHAT_CONFIRM npc QuestScript140_1 1
FINISH_QUEST_MOVIE
ID quest_assign_141
CHAT_CONFIRM npc QuestScript141_1 1
FINISH_QUEST_MOVIE
ID quest_assign_145
LERP_CAMERA_NPC npc 0
CHAT_CONFIRM npc QuestScript145_1 1
LOAD frame "phase_4/models/gui/tfa_images" "FrameBlankA"
LOAD tunnel "phase_4/models/gui/tfa_images" "tunnelSignA"
POSHPRSCALE tunnel 0 0 0 0 0 0 0.8 0.8 0.8
REPARENTTO tunnel frame
POSHPRSCALE frame 0 0 0 0 0 0 0.1 0.1 0.1
REPARENTTO frame aspect2d
LERP_SCALE frame 1.0 1.0 1.0 1.0
WAIT 3.0
LERP_SCALE frame 0.1 0.1 0.1 0.5
WAIT 0.5
REPARENTTO frame hidden
CHAT_CONFIRM npc QuestScript145_2 1
UPON_TIMEOUT LOCAL_FUNCTION frame "removeNode"
FINISH_QUEST_MOVIE
ID quest_assign_150
LERP_CAMERA_NPC npc 0
CHAT_CONFIRM npc QuestScript150_1
REPARENTTO arrows topRight
ARROWS_ON -0.28 -0.49 -120 -0.28 -0.49 -120
SHOW_FRIENDS_LIST
CHAT_CONFIRM npc QuestScript150_2
ARROWS_OFF
HIDE_FRIENDS_LIST
CHAT_CONFIRM npc QuestScript150_3
HIDE bFriendsList
CHAT_CONFIRM npc QuestScript150_4 1
UPON_TIMEOUT HIDE_FRIENDS_LIST
UPON_TIMEOUT ARROWS_OFF
UPON_TIMEOUT REPARENTTO arrows aspect2d
FINISH_QUEST_MOVIE
ID winter_surlee_transform
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
LOCAL_FUNCTION npc "stopLookAround"
REPARENTTO camera npc
POS camera -5.0 -9.0 6.0
HPR camera -25.0 -10.0 0.0
REPARENTTO camera localToon
SET_MUSIC_VOLUME 0.4 music 0.5 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1 "CFReversed"
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_2 "CFReversed"
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_3 "CFReversed"
WAIT 1.0
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_4 "CFReversed"
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_5 "CFReversed"
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_6 "CFReversed"
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_7 "CFReversed"
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_8 "CFReversed"
SEND_EVENT "DistributedPolarBearMgr-activate"
WAIT_EVENT "confirmPolarBear"
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_9 1 "CFReversed"
#LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_10
#WAIT 0.5
#LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_11
#WAIT 0.8
#LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1_12 1
SET_MUSIC_VOLUME 0.8 music 1.0 0.4
WAIT 0.5
REPARENTTO camera localToon
FREE_LOCALTOON
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID winter_surlee_chatter
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
LOCAL_FUNCTION npc "stopLookAround"
REPARENTTO camera npc
POS camera -5.0 -9.0 6.0
HPR camera -25.0 -10.0 0.0
REPARENTTO camera localToon
SET_MUSIC_VOLUME 0.4 music 0.5 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_1 "CFReversed"
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_2 "CFReversed"
WAIT 0.8
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_3 "CFReversed"
WAIT 1.0
LOCAL_CHAT_CONFIRM npc QuestScriptTutorialPolar_4 1 "CFReversed"
WAIT 0.5
REPARENTTO camera localToon
FREE_LOCALTOON
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID drifter_reward
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
LOCAL_FUNCTION npc "stopLookAround"
CHAT_CONFIRM npc QuestScriptDrifter_1
WAIT 1.0
CHAT_CONFIRM npc QuestScriptDrifter_2
CHAT_CONFIRM npc QuestScriptDrifter_3
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_4
CHAT_CONFIRM npc QuestScriptDrifter_5
CHAT_CONFIRM npc QuestScriptDrifter_6
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_7
REPARENTTO reward npc "**/1000/**/def_joint_right_hold"
PLAY_ANIM npc 'right-hand-start' 1.8
WAIT 1.1574
LOOP_ANIM npc 'right-hand' 1.1
WAIT 0.8
CHAT_CONFIRM npc QuestScriptDrifter_8
CHAT_CONFIRM npc QuestScriptDrifter_9
CHAT_CONFIRM npc QuestScriptDrifter_10
SEND_EVENT "reward-selection-popup"
WAIT_EVENT "reward-selection"
CLEAR_CHAT npc
PLAY_ANIM npc 'right-hand-start' -1.5
WAIT 0.5
REPARENTTO reward hidden
WAIT 0.5
LOOP_ANIM npc "neutral"
CHAT_CONFIRM npc QuestScriptDrifter_11
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_12
CHAT_CONFIRM npc QuestScriptDrifter_13 1
FREE_LOCALTOON
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID drifter_reward_closetfull
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
LOCAL_FUNCTION npc "stopLookAround"
CHAT_CONFIRM npc QuestScriptDrifter_1
WAIT 1.0
CHAT_CONFIRM npc QuestScriptDrifter_2
CHAT_CONFIRM npc QuestScriptDrifter_3
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_4
CHAT_CONFIRM npc QuestScriptDrifter_5
CHAT_CONFIRM npc QuestScriptDrifter_6
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_7
WAIT 1.0
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_8
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_9
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_10
SEND_EVENT "reward-selection"
WAIT 2.0
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_11
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_12
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_13
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_12
CHAT_CONFIRM npc QuestScriptDrifter_13 1
FREE_LOCALTOON
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID drifter_reward_trunkfull
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
LOCAL_FUNCTION npc "stopLookAround"
CHAT_CONFIRM npc QuestScriptDrifter_1
WAIT 1.0
CHAT_CONFIRM npc QuestScriptDrifter_2
CHAT_CONFIRM npc QuestScriptDrifter_3
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_4
CHAT_CONFIRM npc QuestScriptDrifter_5
CHAT_CONFIRM npc QuestScriptDrifter_6
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_7
WAIT 1.0
CHAT_CONFIRM npc QuestScriptDrifter_TrunkFull_8
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_9
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_10
SEND_EVENT "reward-selection"
WAIT 2.0
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_11
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_12
CHAT_CONFIRM npc QuestScriptDrifter_ClosetFull_13
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_12
CHAT_CONFIRM npc QuestScriptDrifter_13 1
FREE_LOCALTOON
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID drifter_reward_noreward
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
LOCAL_FUNCTION npc "stopLookAround"
CHAT_CONFIRM npc QuestScriptDrifter_1
WAIT 1.0
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_2
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_3
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_4
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_5
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_6
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_7
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_8
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_9
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_10
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_11
WAIT 0.5
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_12
CHAT_CONFIRM npc QuestScriptDrifter_NoReward_13 1
FREE_LOCALTOON
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID pet_drifter_chatter
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
SET_ANIM_STATE npc "dance"
CHAT_CONFIRM pet QuestScriptPetDrifter_1
WAIT 1.0
CHAT_CONFIRM pet QuestScriptPetDrifter_2
WAIT 1.0
SET_ANIM_STATE npc "speak"
CHAT_CONFIRM pet QuestScriptPetDrifter_3
WAIT 0.5
CHAT_CONFIRM pet QuestScriptPetDrifter_4
SET_ANIM_STATE npc "backflip"
CHAT_CONFIRM pet QuestScriptPetDrifter_5
WAIT 1.0
CHAT_CONFIRM pet QuestScriptPetDrifter_6
SET_ANIM_STATE npc "jump"
CHAT_CONFIRM pet QuestScriptPetDrifter_7 1
WAIT 0.2
FREE_LOCALTOON
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID quest_complete_13555
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
PLAY_ANIM npc "bow" 1
PLAY_ANIM npc2 "bow" 1
CHAT_CONFIRM npc QuestScriptFissiontonIntro_1
LOOP_ANIM npc "neutral"
LOOP_ANIM npc2 "neutral"
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonIntro_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonIntro_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonIntro_4
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonIntro_5
WAIT 1.3
CHAT_CONFIRM npc2 QuestScriptFissiontonIntro_6
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonIntro_7
WAIT 0.9
CHAT_CONFIRM npc2 QuestScriptFissiontonIntro_8
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonIntro_9
WAIT 0.8
CHAT_CONFIRM npc2 QuestScriptFissiontonIntro_10
WAIT 1.1
CHAT_CONFIRM npc QuestScriptFissiontonIntro_11
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonIntro_12
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonIntro_13
WAIT 0.7
CHAT_CONFIRM npc2 QuestScriptFissiontonIntro_14
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonIntro_15 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID arg_fissionton_1
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterOne_1
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterOne_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonChatterOne_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterOne_4
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterOne_5 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID arg_fissionton_2
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterTwo_1
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterTwo_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonChatterTwo_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterTwo_4
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterTwo_5
WAIT 0.8
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterTwo_6 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID arg_fissionton_3
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterThree_1
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterThree_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonChatterThree_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterThree_4
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterThree_5
WAIT 0.8
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterThree_6 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID arg_fissionton_4
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterFour_1
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterFour_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonChatterFour_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterFour_4
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterFour_5 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID arg_fissionton_5
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterFive_1
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterFive_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonChatterFive_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterFive_4 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID arg_fissionton_6
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterSix_1
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterSix_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonChatterSix_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterSix_4
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterSix_5 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
ID arg_fissionton_7
LOCK_LOCALTOON
LOOP_ANIM localToon "neutral"
FUNCTION npc2 "questScriptsStart"
WRTREPARENTTO camera npc
LERP_POSQUAT camera npc -6 13 3.5 -150 -2 0 1.5
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterSeven_1
WAIT 1.0
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterSeven_2
WAIT 0.8
CHAT_CONFIRM npc QuestScriptFissiontonChatterSeven_3
WAIT 1.1
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterSeven_4
WAIT 1.0
CHAT_CONFIRM npc QuestScriptFissiontonChatterSeven_5
WAIT 0.8
CHAT_CONFIRM npc2 QuestScriptFissiontonChatterSeven_6 1
WAIT 0.2
FREE_LOCALTOON
FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT FUNCTION npc2 "questScriptsDone"
UPON_TIMEOUT REPARENTTO camera localToon
FINISH_QUEST_MOVIE
# We do this so that the Silly Meter page can be loaded first before we parse the actual Quest Script.
# If we don't, then when the Quest Script is parsed "sillyMeterPage" will be None and won't flip to it.
ID quest_complete_13703
LERP_CAMERA_NPC npc 0
SEND_EVENT "addSillyMeterPage"
WAIT 0.8
CHAT_CONFIRM npc QuestScriptSillyReader_0
CALL silly_reader_tutorial
# Here's where entering the Silly Reader tutorial again starts.
ID stem_998_sillyReaderExplanation
LERP_CAMERA_NPC npc 0
CHAT_CONFIRM npc QuestScriptSillyReader_1
CALL silly_reader_tutorial
ID silly_reader_tutorial
HIDE settingsButton
SHOW bookOpenButton
CHAT_PERSIST npc QuestScriptSillyReader_2
REPARENTTO arrows bottomRight
ARROWS_ON -0.41 0.11 0 -0.11 0.36 90
WAIT_EVENT "enterStickerBook"
ARROWS_OFF
LOCAL_FUNCTION book "disableAllPageTabs"
SEND_EVENT "SillyMeterPage-tutorial"
SHOW_BOOK bookSillyMeterPage
HIDE bookPrevArrow
HIDE bookNextArrow
CLEAR_CHAT npc
SET_CELLS_AVAILABLE bottom 0
WAIT 0.5
TOON_HEAD npc -0.5 -0.7 1
CHAT_CONFIRM npc QuestScriptSillyReader_3
CHAT_CONFIRM npc QuestScriptSillyReader_4
CHAT_CONFIRM npc QuestScriptSillyReader_5
REPARENTTO arrows aspect2d
ARROWS_ON -0.18 0.35 -90 0.2 0.35 -90
CHAT_CONFIRM npc QuestScriptSillyReader_6
ARROWS_ON -0.18 -0.15 90 0.2 -0.15 90
CHAT_CONFIRM npc QuestScriptSillyReader_7
ARROWS_OFF
CHAT_CONFIRM npc QuestScriptSillyReader_8
SEND_EVENT "SillyMeterPage-tutorial-team"
CHAT_CONFIRM npc QuestScriptSillyReader_9
CHAT_CONFIRM npc QuestScriptSillyReader_10
ARROWS_ON 0.25 0.7 -90 0.55 0.89 180
SEND_EVENT "SillyMeterPage-tutorial-stats"
CHAT_PERSIST npc QuestScriptSillyReader_11
WAIT_EVENT "SillyMeterPage-stats"
ARROWS_ON -0.75 0.62 0 0 0.62 180
CHAT_CONFIRM npc QuestScriptSillyReader_12
ARROWS_ON -0.75 0.62 45 0 0.62 135
CHAT_CONFIRM npc QuestScriptSillyReader_13
CHAT_CONFIRM npc QuestScriptSillyReader_14
CHAT_CONFIRM npc QuestScriptSillyReader_15
ARROWS_OFF
CHAT_CONFIRM npc QuestScriptSillyReader_16
ARROWS_ON 0.75 0.62 180 -0.1 0.62 0
CHAT_CONFIRM npc QuestScriptSillyReader_17
ARROWS_ON 0.75 0.62 135 -0.1 0.62 45
CHAT_CONFIRM npc QuestScriptSillyReader_18
ARROWS_OFF
CHAT_CONFIRM npc QuestScriptSillyReader_19
CHAT_PERSIST npc QuestScriptSillyReader_20
ENABLE_CLOSE_BOOK
REPARENTTO arrows bottomRight
ARROWS_ON -0.41 0.11 0 -0.11 0.36 90
WAIT_EVENT "exitStickerBook"
SEND_EVENT "SillyMeterPage-tutorial-end"
LOCAL_FUNCTION book "enableAllPageTabs"
ARROWS_OFF
TOON_HEAD npc 0 0 0
SET_CELLS_AVAILABLE bottom 1
HIDE_BOOK
HIDE bookOpenButton
CHAT_CONFIRM npc QuestScriptSillyReader_21 1
FREE_LOCALTOON
# Lots of cleanup
UPON_TIMEOUT DEBUG "testing upon death"
UPON_TIMEOUT ARROWS_OFF
UPON_TIMEOUT REPARENTTO arrows aspect2d
UPON_TIMEOUT ENABLE_CLOSE_BOOK
UPON_TIMEOUT HIDE_BOOK
UPON_TIMEOUT SEND_EVENT "exitStickerBook"
UPON_TIMEOUT SEND_EVENT "SillyMeterPage-tutorial-end"
UPON_TIMEOUT LOCAL_FUNCTION book "enableAllPageTabs"
UPON_TIMEOUT TOON_HEAD npc 0 0 0
UPON_TIMEOUT SHOW bookOpenButton
UPON_TIMEOUT SHOW settingsButton
UPON_TIMEOUT SET_CELLS_AVAILABLE bottom 1
FINISH_QUEST_MOVIE
ID quest_complete_16009
LERP_CAMERA_NPC npc 0
SEND_EVENT "addResistanceRankPage"
CHAT_CONFIRM npc QuestScriptResistanceRank_0
CALL resistance_rank_tutorial
ID resistance_rank_tutorial
HIDE settingsButton
SHOW bookOpenButton
CHAT_PERSIST npc QuestScriptResistanceRank_1
REPARENTTO arrows bottomRight
ARROWS_ON -0.41 0.11 0 -0.11 0.36 90
WAIT_EVENT "enterStickerBook"
ARROWS_OFF
LOCAL_FUNCTION book "disableAllPageTabs"
SEND_EVENT "ResistanceRankPage-tutorial-start"
SHOW_BOOK bookResistanceRankPage
HIDE bookPrevArrow
HIDE bookNextArrow
CLEAR_CHAT npc
SET_CELLS_AVAILABLE bottom 0
WAIT 0.5
TOON_HEAD npc -0.5 -0.7 1
CHAT_CONFIRM npc QuestScriptResistanceRank_2
CHAT_PERSIST npc QuestScriptResistanceRank_3
WAIT 0.5
SEND_EVENT "ResistanceRankPage-stamps-start"
WAIT_EVENT "ResistanceRankPage-stamps-end"
CLEAR_CHAT npc
WAIT 0.5
REPARENTTO arrows aspect2d
ARROWS_ON -0.65 -0.25 0 0.65 -0.20 180
CHAT_CONFIRM npc QuestScriptResistanceRank_4
CHAT_CONFIRM npc QuestScriptResistanceRank_5
ARROWS_ON -0.77 0.58 0 0.02 0.58 180
CHAT_CONFIRM npc QuestScriptResistanceRank_6
ARROWS_OFF
CHAT_CONFIRM npc QuestScriptResistanceRank_7
ARROWS_ON 0.6 0.33 -90 0.34 0.58 0
CHAT_CONFIRM npc QuestScriptResistanceRank_8
ARROWS_ON 0.41 -0.08 -90 0.62 0.14 180
CHAT_CONFIRM npc QuestScriptResistanceRank_9
ARROWS_OFF
CHAT_PERSIST npc QuestScriptResistanceRank_10
ENABLE_CLOSE_BOOK
REPARENTTO arrows bottomRight
ARROWS_ON -0.41 0.11 0 -0.11 0.36 90
WAIT_EVENT "exitStickerBook"
SEND_EVENT "ResistanceRankPage-tutorial-end"
LOCAL_FUNCTION book "enableAllPageTabs"
ARROWS_OFF
TOON_HEAD npc 0 0 0
SET_CELLS_AVAILABLE bottom 1
HIDE_BOOK
HIDE bookOpenButton
CHAT_CONFIRM npc QuestScriptResistanceRank_11 1
FREE_LOCALTOON
# Lots of cleanup
UPON_TIMEOUT ARROWS_OFF
UPON_TIMEOUT REPARENTTO arrows aspect2d
UPON_TIMEOUT ENABLE_CLOSE_BOOK
UPON_TIMEOUT HIDE_BOOK
UPON_TIMEOUT SEND_EVENT "exitStickerBook"
UPON_TIMEOUT SEND_EVENT "ResistanceRankPage-tutorial-end"
UPON_TIMEOUT LOCAL_FUNCTION book "enableAllPageTabs"
UPON_TIMEOUT TOON_HEAD npc 0 0 0
UPON_TIMEOUT SHOW bookOpenButton
UPON_TIMEOUT SHOW settingsButton
UPON_TIMEOUT SET_CELLS_AVAILABLE bottom 1
FINISH_QUEST_MOVIE