pokegold-spaceworld/scripts/OldCityPokecenterTimeMachine.asm
DrippingYellow ce247cc761
Some checks failed
CI / build (push) Has been cancelled
Adding bank14, good chunk of text transcribed and labelled in bank0d, renaming farcall to callab, and much more (#112)
* Sporadic constantifying and function naming

* Added bank 14

* Delete .DS_Store files

* Delete EOL whitespace

* Use Tab indents instead of four spaces

* Identify some routines

* Identify more stuff

* Identified party and box structs

* Identified wBattleMon and wEnemyMon structs

* Macro'd landmarks, cleaned up comments

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2025-01-16 12:12:38 -06:00

36 lines
830 B
NASM

INCLUDE "constants.asm"
SECTION "scripts/OldCityPokecenterTimeMachine.asm", ROMX
OldCityPokecenterTimeMachine_ScriptLoader:
call Unreferenced_Function7e6
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 [wce37], a
callfar Function29abf
ret