mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-09-16 18:20:50 +12:00

This adds the baseline infrastructure to account for the Sevii Islands, while also fixing a couple of bugs. Zeta, please read the commit carefully! Only real issue I noticed was that scrolling on the town map is infinite in all three new regions, implying there's something in `pokegear.asm` I haven't accounted for. I've also ret'd the ezchat order and gen1 orders out of existence to reduce the sheer amount of 8-bit warnings. This abolishes gen1 compatibility (though this was already a bit fucked) in exchange for actually being able to debug things in a reasonable timeframe.
58 lines
1.1 KiB
NASM
58 lines
1.1 KiB
NASM
object_const_def
|
|
|
|
OneIsland_MapScripts:
|
|
def_scene_scripts
|
|
|
|
def_callbacks
|
|
callback MAPCALLBACK_NEWMAP, OneIslandFlypointCallback
|
|
|
|
OneIslandFlypointCallback:
|
|
setflag ENGINE_FLYPOINT_ONE_ISLAND
|
|
endcallback
|
|
|
|
OneIslandSign1:
|
|
jumptext OneIslandSign1Text
|
|
|
|
OneIslandSign1Text:
|
|
text "Comment to be"
|
|
line "written."
|
|
done
|
|
|
|
OneIslandSign2:
|
|
jumptext OneIslandSign2Text
|
|
|
|
OneIslandSign2Text:
|
|
text "Comment to be"
|
|
line "written."
|
|
done
|
|
|
|
OneIslandSailorScript:
|
|
jumptextfaceplayer OneIslandSailorText
|
|
|
|
OneIslandSailorText:
|
|
text "Shove off! I'm"
|
|
line "workin', 'ere!"
|
|
|
|
para "Bolt south to"
|
|
line "TREASURE BEACH"
|
|
cont "or somethin'!"
|
|
done
|
|
|
|
OneIsland_MapEvents:
|
|
db 0, 0 ; filler
|
|
|
|
def_warp_events
|
|
warp_event 14, 19, DEBUG_ROOM, 1 ; port
|
|
warp_event 15, 19, DEBUG_ROOM, 1 ; port
|
|
|
|
warp_event 17, 6, DEBUG_ROOM, 1 ; pokecenter
|
|
warp_event 11, 13, DEBUG_ROOM, 1 ; left house
|
|
warp_event 21, 11, DEBUG_ROOM, 1 ; right house
|
|
|
|
def_coord_events
|
|
|
|
def_bg_events
|
|
|
|
def_object_events
|
|
object_event 19, 23, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OneIslandSailorScript, -1
|