Advertisement
Squeetz

Proper Close Combat/V-Create stat drop animation

Sep 6th, 2018
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. .thumb
  2. .include "bscmds.txt"
  3.  
  4. .equ CloseCombat, 0x16D
  5. .equ V_Create, 0x1DD
  6.  
  7. .equ offset, 0x
  8.  
  9.  
  10.  
  11. .org 0x20F74
  12. .word superpower_drops + rom
  13.  
  14. .org offset
  15. superpower_drops:
  16. setbyte 0x02023FDF 0x0
  17. jumpifhalfword 0x0 0x02023D4A CloseCombat CC_drop_def + rom
  18. jumpifhalfword 0x0 0x02023D4A V_Create VC_drop_def + rom
  19. SP_drop_atk:
  20. playstatchangeanimation 0x1 0x6 0xD
  21. playstatchangeanimation 0x1 0x2 0x9
  22. setbyte 0x02023FDE 0x91 @attack
  23. goto first_drop + rom
  24.  
  25. CC_drop_def:
  26. playstatchangeanimation 0x1 0x24 0xD
  27. goto drop_def + rom
  28.  
  29. VC_drop_def:
  30. playstatchangeanimation 0x1 0x2C 0xD
  31. drop_def:
  32. playstatchangeanimation 0x1 0x4 0x9
  33. setbyte 0x02023FDE 0x92 @defense
  34. first_drop:
  35. statbuffchange 0xC1 next_one + rom
  36. jumpifbyte 0x0 0x02023E87 0x2 next_one + rom
  37. printfromtable 0x3FE588 + rom
  38. waitmessage 0x40
  39. next_one:
  40. jumpifhalfword 0x0 0x02023D4A CloseCombat CC_drop_spd + rom
  41. jumpifhalfword 0x0 0x02023D4A V_Create CC_drop_spd + rom
  42. SP_drop_def:
  43. playstatchangeanimation 0x1 0x4 0x9
  44. setbyte 0x02023FDE 0x92 @defense
  45. goto second_drop + rom
  46.  
  47. CC_drop_spd:
  48. playstatchangeanimation 0x1 0x20 0x9
  49. setbyte 0x02023FDE 0x95 @special defense
  50. second_drop:
  51. statbuffchange 0xC1 next_two + rom
  52. jumpifbyte 0x0 0x02023E87 0x2 next_two + rom
  53. printfromtable 0x3FE588 + rom
  54. waitmessage 0x40
  55. next_two:
  56. jumpifhalfword 0x1 0x02023D4A V_Create quit + rom
  57. VC_drop_spe:
  58. playstatchangeanimation 0x1 0x8 0x9
  59. setbyte 0x02023FDE 0x93 @speed
  60. third_drop:
  61. statbuffchange 0xC1 quit + rom
  62. jumpifbyte 0x0 0x02023E87 0x2 quit + rom
  63. printfromtable 0x3FE588 + rom
  64. waitmessage 0x40
  65. quit:
  66. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement