Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. #org @Loop
  2. addvar 0x8009 0x1
  3. compare 0x8009 0x10
  4. if 0x1 goto @NoMoreOWsToCheck
  5. call 0x020370B8
  6. compare 0x8008 0x5F
  7. if 0x5 goto @TreeFailNextOW
  8. addvar 0x8002 0x300
  9. compare 0x8002 0x2FF
  10. if 0x3 call @ValueReNumerate
  11. call 0x020370B8
  12. copyvar 0x800A 0x8008
  13. addvar 0x8002 0x800
  14. compare 0x8002 0x7FF
  15. if 0x3 call @ValueReNumerate
  16. call 0x020370B8
  17. comparevars 0x8008 0x8005
  18. if 0x5 goto @XFailNextOW
  19. addvar 0x8002 0x200
  20. call 0x020370B8
  21. comparevars 0x8008 0x8006
  22. if 0x5 goto @YFailNextOW
  23. givepokemon 0x7B 0x0 0x0 0x0 0x0 0x0
  24. bufferfirstpokemon 0x0
  25. setanimation 0x0 0x0
  26. msgbox @cutmsg 0x5
  27. compare 0x800D 0x0
  28. if 0x1 goto @no
  29. msgbox @cutanim 0x4
  30. closeonkeypress
  31. doanimation 0x2
  32. waitstate
  33. applymovement 0x800A @TreeAnimation
  34. waitmovement 0x0
  35. hidesprite 0x800A
  36. moveoffscreen 0x800A
  37. special 0x28
  38. release
  39. end
  40.  
  41. #org @TreeFailNextOW
  42. addvar 0x8002 0x2400
  43. compare 0x8002 0x23FF
  44. if 0x3 call @ValueReNumerate
  45. goto @Loop
  46.  
  47. #org @XFailNextOW
  48. addvar 0x8002 0x1900
  49. compare 0x8002 0x17FF
  50. if 0x3 call @ValueReNumerate
  51. goto @Loop
  52.  
  53. #org @YFailNextOW
  54. addvar 0x8002 0x1700
  55. compare 0x8002 0x16FF
  56. if 0x3 call @ValueReNumerate
  57. goto @Loop
  58.  
  59. #org @ValueReNumerate
  60. addvar 0x8003 0x1
  61. return
  62.  
  63. #org @NoMoreOWsToCheck
  64. msgbox @Failure 0x2
  65. release
  66. end
  67.  
  68. #org @Failure
  69. = Incorrect
  70.  
  71. #org @cutanim
  72. = Scyther used Cut!
  73.  
  74. #org @no
  75. closeonkeypress
  76. releaseall
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement