kep-hack/scripts/IndigoPlateauLobby.asm
Llinos Evans 9b387cab7e Expanding on Pokemon icon usage
This adds Pikachu, Cat, and "Small Bird" menu icons. The cat has a custom animation done by myself.

The Jigglypuff in the Pokemon Centre now uses the new sprite, nice 'n' pretty. Officer Jenny is also in Cerulean. The Pokemon from Melanie's house in Yellow have been put in Mr. Fuji's House, given the purpose of the house in RB is different. I think it ends up fitting very nicely.

Chansey has been given its proper sprite in Fuschia. Yellow didn't actually do this, as Chansey doesn't have a walk cycle, causing the stuff that exists to go unused. I wanted it, though, so I had Chansey just not walk and turn around. Oh, and it's in all the Pokemon Centres now. Yeah, that's a...lot of changed files.
2023-04-23 21:25:45 +01:00

54 lines
1.1 KiB
NASM

IndigoPlateauLobby_Script:
call Serial_TryEstablishingExternallyClockedConnection
call EnableAutoTextBoxDrawing
ld hl, wCurrentMapScriptFlags
bit 6, [hl]
res 6, [hl]
ret z
ResetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH
ld hl, wBeatLorelei
bit 1, [hl]
res 1, [hl]
ret z
; Elite 4 events
ResetEventRange INDIGO_PLATEAU_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
ret
IndigoPlateauLobby_TextPointers:
dw IndigoHealNurseText
dw IndigoPlateauLobbyText2
dw IndigoPlateauLobbyText3
dw IndigoCashierText
dw IndigoTradeNurseText
dw ExeggutorTrade
dw IndigoPlateauLobbyText4
IndigoHealNurseText:
script_pokecenter_nurse
IndigoPlateauLobbyText2:
text_far _IndigoPlateauLobbyText2
text_end
IndigoPlateauLobbyText3:
text_far _IndigoPlateauLobbyText3
text_end
IndigoTradeNurseText:
script_cable_club_receptionist
IndigoCashierText::
script_mart ULTRA_BALL, GREAT_BALL, FULL_RESTORE, MAX_POTION, FULL_HEAL, REVIVE, MAX_REPEL
ExeggutorTrade:
text_asm
ld a, TRADE_FOR_EXEGGUTOR_A
ld [wWhichTrade], a
predef DoInGameTradeDialogue
jp TextScriptEnd
IndigoPlateauLobbyText4:
text_asm
callfar PokecenterChanseyText
jp TextScriptEnd