mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-08-09 11:47:38 -05:00
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>
32 lines
781 B
NASM
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
|