Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- encountertext = "Poseur strikes a pose!"
- nextwaves = {"bullettest_chaserorb"}
- wavetimer = 4.0
- arenasize = {155, 130}
- enemies = {
- "floweyx"
- }
- autolinebreak = true
- enemypositions = {
- {0, 0}
- }
- possible_attacks = {"bullettest_bouncy", "bullettest_chaserorb", "bullettest_touhou"}
- function Update()
- Player.CheckDeath() -- ???
- end
- function EncounterStarting()
- -- If you want to change the game state immediately, this is the place.
- end
- function EnemyDialogueStarting()
- -- Good location for setting monster dialogue depending on how the battle is going.
- end
- function EnemyDialogueEnding()
- nextwaves = { possible_attacks[math.random(#possible_attacks)] }
- end
- function DefenseEnding() --This built-in function fires after the defense round ends.
- Player.ForceAttack(1, 55)
- State("DEFENDING")
- encountertext = RandomEncounterText()
- end
- function HandleSpare()
- State("ENEMYDIALOGUE")
- end
- function HandleItem(ItemID)
- BattleDialog({"Selected item " .. ItemID .. "."})
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement