summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--res/scripts/hallucination_cliff.lua20
1 files changed, 19 insertions, 1 deletions
diff --git a/res/scripts/hallucination_cliff.lua b/res/scripts/hallucination_cliff.lua index 35da0b1..910d614 100644 --- a/res/scripts/hallucination_cliff.lua +++ b/res/scripts/hallucination_cliff.lua
@@ -15,11 +15,29 @@ function hallucination_cliff.enter_door()
15end 15end
16 16
17function hallucination_cliff.talk_to_nana() 17function hallucination_cliff.talk_to_nana()
18 if not gamestate.talked_to_nana_times then
19 gamestate.talked_to_nana_times = 0
20 end
21
18 StartCutscene() 22 StartCutscene()
19 SetAnimation("nana", "talk") 23 SetAnimation("nana", "talk")
20 DisplayMessage("* Don't talk to me.", "Nana", SpeakerType.WOMAN) 24
25 if gamestate.talked_to_nana_times == 0 then
26 DisplayMessage("* Don't talk to me.", "Nana", SpeakerType.WOMAN)
27 elseif gamestate.talked_to_nana_times == 1 then
28 DisplayMessage("* Go bother someone else.", "Nana", SpeakerType.WOMAN)
29 elseif gamestate.talked_to_nana_times == 2 then
30 DisplayMessage("* I only talked to you out of pity.", "Nana", SpeakerType.WOMAN)
31 elseif gamestate.talked_to_nana_times >= 3 and gamestate.talked_to_nana_times < 6 then
32 DisplayMessage("* ...", "Nana", SpeakerType.WOMAN)
33 elseif gamestate.talked_to_nana_times >= 6 then
34 DisplayMessage("* Shut up shut up shut up!\n\f* Can't you take a hint, you stupid boy?", "Nana", SpeakerType.WOMAN)
35 end
36
21 WaitForEndOfMessage() 37 WaitForEndOfMessage()
22 38
39 gamestate.talked_to_nana_times = gamestate.talked_to_nana_times + 1
40
23 SetAnimation("nana", "still") 41 SetAnimation("nana", "still")
24 SetDirection("nana", Direction.RIGHT) 42 SetDirection("nana", Direction.RIGHT)
25 HideCutsceneBars() 43 HideCutsceneBars()