diff options
Diffstat (limited to 'maps/LavRadioTower1F.asm')
-rw-r--r-- | maps/LavRadioTower1F.asm | 111 |
1 files changed, 43 insertions, 68 deletions
diff --git a/maps/LavRadioTower1F.asm b/maps/LavRadioTower1F.asm index cb1a71d9b..ac7b6fc58 100644 --- a/maps/LavRadioTower1F.asm +++ b/maps/LavRadioTower1F.asm @@ -1,27 +1,23 @@ -LavRadioTower1F_MapScriptHeader: ; 0x7ee61 - ; trigger count +LavRadioTower1F_MapScriptHeader: +.MapTriggers: db 0 - ; callback count +.MapCallbacks: db 0 -; 0x7ee63 -ReceptionistScript_0x7ee63: ; 0x7ee63 +ReceptionistScript_0x7ee63: jumptextfaceplayer UnknownText_0x7eebf -; 0x7ee66 -OfficerScript_0x7ee66: ; 0x7ee66 +OfficerScript_0x7ee66: jumptextfaceplayer UnknownText_0x7eefa -; 0x7ee69 -SuperNerdScript_0x7ee69: ; 0x7ee69 +SuperNerdScript_0x7ee69: jumptextfaceplayer UnknownText_0x7ef90 -; 0x7ee6c -GentlemanScript_0x7ee6c: ; 0x7ee6c +GentlemanScript_0x7ee6c: faceplayer loadfont - checkflag $0003 + checkflag ENGINE_EXPN_CARD iftrue .UnknownScript_0x7ee8e checkevent EVENT_RETURNED_MACHINE_PART iftrue .UnknownScript_0x7ee80 @@ -29,70 +25,60 @@ GentlemanScript_0x7ee6c: ; 0x7ee6c closetext loadmovesprites end -; 0x7ee80 -.UnknownScript_0x7ee80: ; 0x7ee80 +.UnknownScript_0x7ee80: writetext UnknownText_0x7f0a1 keeptextopen stringtotext .expncardname, $1 scall .UnknownScript_0x7ee94 - setflag $0003 -.UnknownScript_0x7ee8e ; 0x7ee8e + setflag ENGINE_EXPN_CARD +.UnknownScript_0x7ee8e writetext UnknownText_0x7f141 closetext loadmovesprites end -; 0x7ee94 -.UnknownScript_0x7ee94 ; 0x7ee94 - jumpstd $002f +.UnknownScript_0x7ee94 + jumpstd receiveitem end -; 0x7ee98 -.expncardname ; 0x7ee98 +.expncardname db "EXPN CARD@" -; 0x7eea2 -SuperNerdScript_0x7eea2: ; 0x7eea2 +SuperNerdScript_0x7eea2: faceplayer loadfont - checkflag $0003 + checkflag ENGINE_EXPN_CARD iftrue UnknownScript_0x7eeb0 writetext UnknownText_0x7f193 closetext loadmovesprites end -; 0x7eeb0 -UnknownScript_0x7eeb0: ; 0x7eeb0 +UnknownScript_0x7eeb0: writetext UnknownText_0x7f248 closetext loadmovesprites end -; 0x7eeb6 -MapLavRadioTower1FSignpost0Script: ; 0x7eeb6 +MapLavRadioTower1FSignpost0Script: jumptext UnknownText_0x7f2e3 -; 0x7eeb9 -MapLavRadioTower1FSignpost1Script: ; 0x7eeb9 +MapLavRadioTower1FSignpost1Script: jumptext UnknownText_0x7f32d -; 0x7eebc -UnknownScript_0x7eebc: ; 0x7eebc +UnknownScript_0x7eebc: jumptext UnknownText_0x7f36b -; 0x7eebf -UnknownText_0x7eebf: ; 0x7eebf +UnknownText_0x7eebf: text "Welcome!" line "Feel free to look" para "around anywhere on" line "this floor." done -; 0x7eefa -UnknownText_0x7eefa: ; 0x7eefa +UnknownText_0x7eefa: text "Sorry, but you can" line "only tour the" cont "ground floor." @@ -106,9 +92,8 @@ UnknownText_0x7eefa: ; 0x7eefa para "have had to step" line "up our security." done -; 0x7ef90 -UnknownText_0x7ef90: ; 0x7ef90 +UnknownText_0x7ef90: text "Many people are" line "hard at work here" @@ -119,9 +104,8 @@ UnknownText_0x7ef90: ; 0x7ef90 line "their best to put" cont "on good shows." done -; 0x7effb -UnknownText_0x7effb: ; 0x7effb +UnknownText_0x7effb: text "Oh, no, no, no!" para "We've been off the" @@ -138,9 +122,8 @@ UnknownText_0x7effb: ; 0x7effb para "I'll be ruined!" done -; 0x7f0a1 -UnknownText_0x7f0a1: ; 0x7f0a1 +UnknownText_0x7f0a1: text "Ah! So you're the" line "<PLAY_G> who solved" @@ -156,9 +139,8 @@ UnknownText_0x7f0a1: ; 0x7f0a1 para "Please take this" line "as my thanks." done -; 0x7f141 -UnknownText_0x7f141: ; 0x7f141 +UnknownText_0x7f141: text "With that thing," line "you can tune into" @@ -167,9 +149,8 @@ UnknownText_0x7f141: ; 0x7f141 para "Gahahahaha!" done -; 0x7f193 -UnknownText_0x7f193: ; 0x7f193 +UnknownText_0x7f193: text "Hey there!" para "I am the super" @@ -187,9 +168,8 @@ UnknownText_0x7f193: ; 0x7f193 para "can tune in. You'd" line "better get one!" done -; 0x7f248 -UnknownText_0x7f248: ; 0x7f248 +UnknownText_0x7f248: text "Hey there!" para "I am the super" @@ -205,9 +185,8 @@ UnknownText_0x7f248: ; 0x7f248 line "Grab your music" cont "off the air!" done -; 0x7f2e3 -UnknownText_0x7f2e3: ; 0x7f2e3 +UnknownText_0x7f2e3: text "1F RECEPTION" line "2F SALES" @@ -217,18 +196,16 @@ UnknownText_0x7f2e3: ; 0x7f2e3 para "5F DIRECTOR'S" line " OFFICE" done -; 0x7f32d -UnknownText_0x7f32d: ; 0x7f32d +UnknownText_0x7f32d: text "Perk Up #MON" line "with Mellow Sounds" para "of the # FLUTE" line "on CHANNEL 20" done -; 0x7f36b -UnknownText_0x7f36b: ; 0x7f36b +UnknownText_0x7f36b: text "Wow! A full rack" line "of #MON CDs and" cont "videos." @@ -236,30 +213,28 @@ UnknownText_0x7f36b: ; 0x7f36b para "This must be the" line "reference library." done -; 0x7f3b9 -LavRadioTower1F_MapEventHeader: ; 0x7f3b9 +LavRadioTower1F_MapEventHeader: ; filler db 0, 0 - ; warps +.Warps: db 2 warp_def $7, $2, 7, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN warp_def $7, $3, 7, GROUP_LAVENDER_TOWN, MAP_LAVENDER_TOWN - ; xy triggers +.XYTriggers: db 0 - ; signposts +.Signposts: db 2 - signpost 0, 11, $0, MapLavRadioTower1FSignpost0Script - signpost 0, 5, $0, MapLavRadioTower1FSignpost1Script + signpost 0, 11, SIGNPOST_READ, MapLavRadioTower1FSignpost0Script + signpost 0, 5, SIGNPOST_READ, MapLavRadioTower1FSignpost1Script - ; people-events +.PersonEvents: db 5 - person_event SPRITE_RECEPTIONIST, 10, 10, $7, $0, 255, 255, $a0, 0, ReceptionistScript_0x7ee63, $ffff - person_event SPRITE_OFFICER, 5, 19, $6, $0, 255, 255, $a0, 0, OfficerScript_0x7ee66, $ffff - person_event SPRITE_SUPER_NERD, 7, 5, $2, $11, 255, 255, $80, 0, SuperNerdScript_0x7ee69, $ffff - person_event SPRITE_GENTLEMAN, 5, 13, $7, $0, 255, 255, $0, 0, GentlemanScript_0x7ee6c, $ffff - person_event SPRITE_SUPER_NERD, 10, 18, $9, $0, 255, 255, $0, 0, SuperNerdScript_0x7eea2, $ffff -; 0x7f414 + person_event SPRITE_RECEPTIONIST, 10, 10, OW_UP | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, ReceptionistScript_0x7ee63, -1 + person_event SPRITE_OFFICER, 5, 19, OW_UP | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, OfficerScript_0x7ee66, -1 + person_event SPRITE_SUPER_NERD, 7, 5, OW_DOWN | $2, $11, -1, -1, (PAL_OW_RED << 4) | $80, 0, SuperNerdScript_0x7ee69, -1 + person_event SPRITE_GENTLEMAN, 5, 13, OW_UP | $3, $0, -1, -1, $0, 0, GentlemanScript_0x7ee6c, -1 + person_event SPRITE_SUPER_NERD, 10, 18, OW_LEFT | $1, $0, -1, -1, $0, 0, SuperNerdScript_0x7eea2, -1 |