mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
Consistent labels for Gym name scripts
This commit is contained in:
parent
76289dfda0
commit
e88eebbc4d
8 changed files with 50 additions and 46 deletions
|
|
@ -1,5 +1,5 @@
|
|||
FuchsiaGym_Script:
|
||||
call FuchsiaGymScript_75453
|
||||
call .LoadNames
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, FuchsiaGymTrainerHeader0
|
||||
ld de, FuchsiaGym_ScriptPointers
|
||||
|
|
@ -8,19 +8,20 @@ FuchsiaGym_Script:
|
|||
ld [wFuchsiaGymCurScript], a
|
||||
ret
|
||||
|
||||
FuchsiaGymScript_75453:
|
||||
.LoadNames:
|
||||
ld hl, wCurrentMapScriptFlags
|
||||
bit 6, [hl]
|
||||
res 6, [hl]
|
||||
ret z
|
||||
ld hl, Gym5CityName
|
||||
ld de, Gym5LeaderName
|
||||
ld hl, .CityName
|
||||
ld de, .LeaderName
|
||||
call LoadGymLeaderAndCityName
|
||||
ret
|
||||
|
||||
Gym5CityName:
|
||||
.CityName:
|
||||
db "FUCHSIA CITY@"
|
||||
Gym5LeaderName:
|
||||
|
||||
.LeaderName:
|
||||
db "KOGA@"
|
||||
|
||||
FuchsiaGymScript_75477:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue