Advertisement
ProClifo

Setflag when buying big Kanto dolls

Jun 26th, 2015
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. #freespace 0xFF
  2. #dynamic 0xF00000
  3.  
  4. #org 0x25F0C9
  5. compare 0x4002 0x0
  6. if 0x1 goto @purchase
  7. compare 0x4002 0x1
  8. if 0x1 goto @purchase
  9. goto 0x825F12A
  10.  
  11. #org @purchase
  12. checkdecoration 0x8009
  13. compare LASTRESULT 0x0
  14. if 0x1 goto 0x825F11D
  15. compare 0x8009 0x71
  16. if 0x1 call @lapras_flag
  17. compare 0x8009 0x6F
  18. if 0x1 call @snorlax_flag
  19. compare 0x8009 0x72
  20. if 0x1 call @venusaur_flag
  21. compare 0x8009 0x73
  22. if 0x1 call @charizard_flag
  23. compare 0x8009 0x74
  24. if 0x1 call @blastoise_flag
  25. copyvar 0x8004 0x8008
  26. special 0x1CB
  27. adddecoration 0x8009
  28. special 0x1C8
  29. sound 0x5F
  30. msgbox 0x825FE45 MSG_KEEPOPEN '"Thank you!\nWe'll send it to your ..."
  31. compare 0x4002 0x0
  32. if 0x1 goto 0x825F185
  33. goto 0x825F38E
  34.  
  35. #org @lapras_flag
  36. setflag 0x240
  37. return
  38.  
  39. #org @snorlax_flag
  40. setflag 0x241
  41. return
  42.  
  43. #org @venusaur_flag
  44. setflag 0x242
  45. return
  46.  
  47. #org @charizard_flag
  48. setflag 0x243
  49. return
  50.  
  51. #org @blastoise_flag
  52. setflag 0x244
  53. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement