설명 없음

hazards.S 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #include <battle_script.h>
  2. .text
  3. .align 2
  4. .thumb
  5. .global bs_stealth_rock_int
  6. bs_stealth_rock_int:
  7. orword 0x2023DD0 0x100100
  8. graphicalhpupdate 0x0
  9. datahpupdate 0x0
  10. setword STRING_LOADER str_stealth_rock
  11. printstring 0x184
  12. waitmessage 0x40
  13. faintpokemon 0x0 0x0 0x0
  14. faintpokemon 0x0 0x1 0x81D8CDF
  15. return
  16. .align 2
  17. .global bs_stealth_rock
  18. bs_stealth_rock:
  19. .word bs_stealth_rock_int
  20. .global toxic_spikes_int
  21. toxic_spikes_int:
  22. statusanimation BANK_TARGET
  23. setword STRING_LOADER str_got_poison
  24. rest_of_toxic:
  25. printstring 0x184
  26. waitmessage 0x40
  27. cmd98 0x0
  28. setbyte 0x2023FD8 0x0
  29. cmd49 0x0 0x0
  30. return
  31. .align 2
  32. .global bs_toxic_spikes
  33. bs_toxic_spikes:
  34. .word toxic_spikes_int
  35. .align 2
  36. .global bs_toxic_spikes_bad_int
  37. bs_toxic_spikes_bad_int:
  38. statusanimation BANK_TARGET
  39. setword STRING_LOADER str_got_bad_poison
  40. goto rest_of_toxic
  41. .align 2
  42. .global bs_toxic_spikes_bad
  43. bs_toxic_spikes_bad:
  44. .word bs_toxic_spikes_bad_int
  45. .align 2
  46. .global bs_sticky_web_int
  47. bs_sticky_web_int:
  48. setword STRING_LOADER str_sticky_web
  49. printstring 0x184
  50. waitmessage 0x40
  51. statbuffchange 0x1 sticky_return
  52. cmd47
  53. playanimation 0 1 0x02023FD4
  54. printfromtable 0x083FE57C
  55. waitmessage 0x40
  56. sticky_return:
  57. return
  58. .align 2
  59. .global bs_sticky_web
  60. bs_sticky_web:
  61. .word bs_sticky_web_int
  62. .align 2
  63. .global bs_toxic_resolve_int
  64. bs_toxic_resolve_int:
  65. setword STRING_LOADER str_toxic_resolve
  66. printstring 0x184
  67. waitmessage 0x40
  68. return
  69. .align 2
  70. .global bs_toxic_resolve
  71. bs_toxic_resolve:
  72. .word bs_toxic_resolve_int