Advertisement
Sir_Tman

Dustborn-[Question] Custom messages in battle?

Oct 8th, 2015
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. if isConst?(@opponent.trainertype,PBTrainers,:GYMLEADER_1) or isConst?(@opponent.trainertype,PBTrainers,:RIVAL2)
  2. @scene.pbShowOpponent(0)
  3. if isConst?(@opponent.trainertype,PBTrainers,:GYMLEADER_1)
  4. case pbPokemonCount(@party2)
  5. when 3
  6. pbDisplayPaused(_INTL("First Message"))
  7. when 2
  8. pbDisplayPaused(_INTL("Second Message"))
  9. when 1
  10. pbDisplayPaused(_INTL("Final Message"))
  11. pbBGMPlay("Final PKM Music",100,100)
  12. end
  13. if isConst?(@opponent.trainertype,PBTrainers,:RIVAL2)
  14. case pbPokemonCount(@party2)
  15. when 2
  16. pbDisplayPaused(_INTL("Second Message"))
  17. when 1
  18. pbDisplayPaused(_INTL("Final Message"))
  19. pbBGMPlay("Final PKM Music",100,100)
  20. end
  21. @scene.pbHideOpponent
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement