diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-18 14:01:13 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-18 14:01:13 -0400 |
| commit | e88eebbc4dc7160b00f1af0008bc4b8bb5ef9aee (patch) | |
| tree | 8b9f3f0cd74cb19d72ab4d99071900569038fe2a /scripts/PewterGym.asm | |
| parent | Port dbsprite macro for OAM y,x,tile,attr data from pokecrystal (diff) | |
| download | pokeyellow-e88eebbc4dc7160b00f1af0008bc4b8bb5ef9aee.tar.gz pokeyellow-e88eebbc4dc7160b00f1af0008bc4b8bb5ef9aee.tar.xz pokeyellow-e88eebbc4dc7160b00f1af0008bc4b8bb5ef9aee.zip | |
Consistent labels for Gym name scripts
Diffstat (limited to 'scripts/PewterGym.asm')
| -rwxr-xr-x | scripts/PewterGym.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/PewterGym.asm b/scripts/PewterGym.asm index fd9e9063..a1fda3b9 100755 --- a/scripts/PewterGym.asm +++ b/scripts/PewterGym.asm @@ -2,7 +2,7 @@ PewterGym_Script: ld hl, wCurrentMapScriptFlags bit 6, [hl] res 6, [hl] - call nz, PewterGymScript_5c3a4 + call nz, .LoadNames call EnableAutoTextBoxDrawing ld hl, PewterGymTrainerHeader0 ld de, PewterGym_ScriptPointers @@ -11,15 +11,15 @@ PewterGym_Script: ld [wPewterGymCurScript], a ret -PewterGymScript_5c3a4: - ld hl, Gym1CityName - ld de, Gym1LeaderName +.LoadNames: + ld hl, .CityName + ld de, .LeaderName jp LoadGymLeaderAndCityName -Gym1CityName: +.CityName: db "PEWTER CITY@" -Gym1LeaderName: +.LeaderName: db "BROCK@" PewterGymScript_5c3bf: |
