safarizoneentrance.asm 538 B

123456789101112131415161718192021
  1. SafariZoneEntranceObject:
  2. db $a ; border block
  3. db 4 ; warps
  4. warp 3, 5, 4, -1
  5. warp 4, 5, 4, -1
  6. warp 3, 0, 0, SAFARI_ZONE_CENTER
  7. warp 4, 0, 1, SAFARI_ZONE_CENTER
  8. db 0 ; signs
  9. db 2 ; objects
  10. object SPRITE_WHITE_PLAYER, 6, 2, STAY, LEFT, 1 ; person
  11. object SPRITE_WHITE_PLAYER, 1, 4, STAY, RIGHT, 2 ; person
  12. ; warp-to
  13. warp_to 3, 5, SAFARI_ZONE_ENTRANCE_WIDTH
  14. warp_to 4, 5, SAFARI_ZONE_ENTRANCE_WIDTH
  15. warp_to 3, 0, SAFARI_ZONE_ENTRANCE_WIDTH ; SAFARI_ZONE_CENTER
  16. warp_to 4, 0, SAFARI_ZONE_ENTRANCE_WIDTH ; SAFARI_ZONE_CENTER