diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-08 13:18:50 -0500 | 
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-03-08 13:18:50 -0500 | 
| commit | 8227f9f2ecde583b2c4d40b233cd45611819574d (patch) | |
| tree | 91db8e30fec8cceb1ab279fcfa961b72797a3fea /res/scripts | |
| parent | 1c995f2e6c589df9da28c5534c7128e1da64bb89 (diff) | |
| download | tanetane-8227f9f2ecde583b2c4d40b233cd45611819574d.tar.gz tanetane-8227f9f2ecde583b2c4d40b233cd45611819574d.tar.bz2 tanetane-8227f9f2ecde583b2c4d40b233cd45611819574d.zip | |
Added more Nana dialogue if you talk to her repeatedly
Diffstat (limited to 'res/scripts')
| -rw-r--r-- | res/scripts/hallucination_cliff.lua | 20 | 
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() | |||
| 15 | end | 15 | end | 
| 16 | 16 | ||
| 17 | function hallucination_cliff.talk_to_nana() | 17 | function 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() | 
