Advertisement
MajicksJesteh

Intro Sequence

Mar 24th, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. SetGlobal("isHurt",0)
  2. SetGlobal("intro", true)
  3.  
  4. function EncounterStarting()
  5. require "Animations/chibi-sayori_anim"
  6. State("ENEMYDIALOGUE")
  7. Player.name="MC"
  8. Audio.Stop()
  9. end
  10.  
  11. function EnemyDialogueStarting()
  12. if GetGlobal("intro")==true then
  13. enemies[1].SetVar('currentdialogue', {"Ehe. Wait up, silly..."})
  14. SetGlobal("intro", false)
  15. end
  16. end
  17.  
  18. function EnemyDialogueEnding()
  19. State("ACTIONSELECT")
  20. BattleDialog={"Sayori calls your name!"}
  21. Audio.Play()
  22. nextwaves = { possible_attacks[math.random(#possible_attacks)] }
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement