Advertisement
ProClifo

Untitled

Jun 28th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. #include stditems.rbh
  2. #freespace 0xFF
  3. #dynamic 0xF00000
  4.  
  5. #org @start
  6. lockall
  7. bufferitem 0x0 ITEM_HELIXFOSSIL
  8. msgbox @found_msg MSG_YESNO
  9. compare LASTRESULT 0x0
  10. if 0x1 goto @left
  11. giveitem 0x165 0x1 MSG_OBTAIN
  12. closeonkeypress
  13. hidesprite 0x2F
  14. pause 0x1E
  15. applymovement 0x30 @move
  16. waitmovement 0x0
  17. hidesprite 0x30
  18. setflag 0xB00
  19. setflag 0xB01
  20. releaseall
  21. end
  22.  
  23. #org @left
  24. msgbox @left_msg MSG_KEEPOPEN '"[player] left the [buffer1] alon..."
  25. releaseall
  26. end
  27.  
  28. #org @found_msg
  29. = You found the [buffer1].\pIf this FOSSIL is taken, the other\none will sink into the sand...\pTake the [buffer1] anyway?
  30.  
  31. #org @left_msg
  32. = [player] left the [buffer1] alone.
  33.  
  34. #org @move
  35. #raw 0x55 'Show
  36. #raw 0x12 'Delay3
  37. #raw 0x54 'Hide
  38. #raw 0x12 'Delay3
  39. #raw 0x55 'Show
  40. #raw 0x12 'Delay3
  41. #raw 0x54 'Hide
  42. #raw 0x12 'Delay3
  43. #raw 0x55 'Show
  44. #raw 0x13 'Delay4
  45. #raw 0x54 'Hide
  46. #raw 0x13 'Delay4
  47. #raw 0x55 'Show
  48. #raw 0x13 'Delay4
  49. #raw 0x54 'Hide
  50. #raw 0x13 'Delay4
  51. #raw 0x55 'Show
  52. #raw 0x14 'Delay5
  53. #raw 0x54 'Hide
  54. #raw 0x14 'Delay5
  55. #raw 0x55 'Show
  56. #raw 0xFE 'End of Movements
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement