ref: b9f2b93c1741c44eaa6468284303d16dde654553
dir: /maps/Route32Pokecenter1F.asm/
object_const_def ; object_event constants const ROUTE32POKECENTER1F_NURSE const ROUTE32POKECENTER1F_FISHING_GURU const ROUTE32POKECENTER1F_COOLTRAINER_F Route32Pokecenter1F_MapScripts: db 0 ; scene scripts db 0 ; callbacks Route32Pokecenter1FNurseScript: jumpstd PokecenterNurseScript Route32Pokecenter1FFishingGuruScript: faceplayer opentext checkevent EVENT_GOT_OLD_ROD iftrue .GotOldRod writetext Route32Pokecenter1FFishingGuruText_Question yesorno iffalse .Refused writetext Route32Pokecenter1FFishingGuruText_Yes promptbutton verbosegiveitem OLD_ROD writetext Route32Pokecenter1FFishingGuruText_GiveOldRod waitbutton closetext setevent EVENT_GOT_OLD_ROD end .Refused: writetext Route32Pokecenter1FFishingGuruText_No waitbutton closetext end .GotOldRod: writetext Route32Pokecenter1FFishingGuruText_After waitbutton closetext end Route32Pokecenter1FCooltrainerFScript: jumptextfaceplayer Route32Pokecenter1FCooltrainerFText Route32Pokecenter1FFishingGuruText_Question: text "This is a great" line "fishing spot." para "You saw people" line "fishing? How" cont "about you?" para "Would you like one" line "of my RODS?" done Route32Pokecenter1FFishingGuruText_Yes: text "Heh, that's good" line "to hear." para "Now you're an" line "angler too!" done Route32Pokecenter1FFishingGuruText_GiveOldRod: text "Fishing is great!" para "If there's water," line "be it the sea or a" para "stream, try out" line "your ROD." done Route32Pokecenter1FFishingGuruText_No: text "Oh. That's rather" line "disappointing…" done Route32Pokecenter1FFishingGuruText_After: text "Yo, kid. How are" line "they biting?" done Route32Pokecenter1FCooltrainerFText: text "What should I make" line "my #MON hold?" para "Maybe an item that" line "increases ATTACK" cont "power…" done Route32Pokecenter1F_MapEvents: db 0, 0 ; filler db 3 ; warp events warp_event 3, 7, ROUTE_32, 1 warp_event 4, 7, ROUTE_32, 1 warp_event 0, 7, POKECENTER_2F, 1 db 0 ; coord events db 0 ; bg events db 3 ; object events object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Route32Pokecenter1FNurseScript, -1 object_event 1, 4, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Route32Pokecenter1FFishingGuruScript, -1 object_event 6, 2, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Route32Pokecenter1FCooltrainerFScript, -1