Advertisement
ProClifo

Route 123 tiles

Jul 4th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. #include stditems.rbh
  2. #freespace 0xFF
  3. #dynamic 0xF00000
  4.  
  5. #org @start
  6. special 0x147
  7. checkflag 0x20B
  8. if 0x1 goto @done
  9. checkitem ITEM_MIRACLESEED 0x1
  10. compare LASTRESULT 0x1
  11. if 0x1 call @checkspoon
  12. end
  13.  
  14. #org @checkspoon
  15. checkitem ITEM_TWISTEDSPOON 0x1
  16. compare LASTRESULT 0x1
  17. if 0x1 goto @maptiles
  18. return
  19.  
  20. #org @maptiles
  21. setmaptile 0x1C 0x03 0x135 0x1
  22. setmaptile 0x1D 0x03 0x135 0x1
  23. setmaptile 0x1C 0x04 0x13F 0x0
  24. setmaptile 0x1D 0x04 0x13F 0x0
  25. setmaptile 0x1C 0x05 0x1A2 0x0
  26. setmaptile 0x1D 0x05 0x1A2 0x0
  27. setmaptile 0x1C 0x06 0x001 0x0
  28. setmaptile 0x1D 0x06 0x001 0x0
  29. end
  30.  
  31. #org @done
  32. setmaptile 0x1C 0x03 0x0C7 0x1
  33. setmaptile 0x1D 0x03 0x0C7 0x1
  34. setmaptile 0x1C 0x04 0x001 0x0
  35. setmaptile 0x1D 0x04 0x001 0x0
  36. setmaptile 0x1C 0x05 0x001 0x0
  37. setmaptile 0x1D 0x05 0x001 0x0
  38. setmaptile 0x1C 0x06 0x001 0x0
  39. setmaptile 0x1D 0x06 0x001 0x0
  40. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement