diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-19 23:04:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-19 23:04:16 -0400 |
commit | 0177688ad4d923c4970009fa87df48605bb43ed6 (patch) | |
tree | 4c44fbb1813e78eb00f7c1690d2c23099a49113b /scripts/FuchsiaGym.asm | |
parent | d44c7c305c3f94b59e3e2c008408779836a0020a (diff) | |
parent | df62b8e81a4b0964d5f21dcc37916f996b5bd241 (diff) |
Merge pull request #279 from Rangi42/master
Identify sprite and battle animation data
Diffstat (limited to 'scripts/FuchsiaGym.asm')
-rwxr-xr-x | scripts/FuchsiaGym.asm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/FuchsiaGym.asm b/scripts/FuchsiaGym.asm index cfbe87e9..6f4f28fc 100755 --- a/scripts/FuchsiaGym.asm +++ b/scripts/FuchsiaGym.asm @@ -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: |