Sin descripción

defog_script.S 505B

12345678910111213141516171819202122232425
  1. #include <battle_script.h>
  2. #include <moves.h>
  3. .align 2
  4. .thumb
  5. .text
  6. .global bs_defog
  7. bs_defog:
  8. setbyte 0x2023FDE 0x97
  9. attackcanceler
  10. jumpifsecondarystatus 0x0 0x1000000 0x81D7DF0
  11. accuracycheck 0x81D695E 0x0
  12. attackstring
  13. ppreduce
  14. jumpifhalfword 0x0 0x2023D4A MOVE_SWEET_SCENT no_defog
  15. callasm defog_field+1
  16. no_defog:
  17. statbuffchange 0x1 0x81D6C5D
  18. jumpifbyte 0x3 0x2023E87 0x2 0x81D6C4B
  19. jumpifbyte 0x0 0x2023E87 0x3 0x81D6C5D
  20. pause 0x20
  21. goto 0x81D6C55