pokegold-spaceworld/scripts/OldCityPokecenterTimeMachine.asm
Narishma-gb e88fe24e15
Use the same Makefile build system as Gen 1+2 repos (#163)
This uses catch-all files like main.asm to reduce the total quantity and size of
build objects (from 1.1 GB to 70 MB).

---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-07-05 15:36:09 -04:00

32 lines
781 B
NASM

OldCityPokecenterTimeMachine_ScriptLoader:
call SetBitsForTimeCapsuleRequestIfNotLinked
ld hl, OldCityPokecenterTimeMachineScriptPointers
call RunMapScript
call WriteBackMapScriptNumber
ret
OldCityPokecenterTimeMachineScriptPointers:
dw OldCityPokecenterTimeMachineScript1
dw OldCityPokecenterTimeMachineNPCIds
OldCityPokecenterTimeMachineScript1:
ld hl, OldCityPokecenterTimeMachineNPCIds
ld de, OldCityPokecenterTimeMachineSignPointers
call CallMapTextSubroutine
ret
OldCityPokecenterTimeMachineNPCIds:
db $00, $ff
OldCityPokecenterTimeMachineSignPointers:
dw MapDefaultText
OldCityPokecenterTimeMachine_TextPointers:
dw OldCityPokecenterTimeMachineText1
OldCityPokecenterTimeMachineText1:
xor a
ld [wTempByteValue], a
callfar Link_Receptionist_Intro
ret