mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Groundwork for Viridian Pre-Gym
This map is fully functional but has a lot of bits to iron out, as well as a need for Gym Trainers. I'm also not wholly satisfied with Yujirou's team; maybe remove Eevee? Yes, I designed an entire tileset for this. Fear me. Bow before me. Actually, don't, this was beyond rational thought. Current issues; - Yujirou's sprite doesn't work properly. - Needs Gym Trainers (hell) - Yujirou needs an event for being beaten, the refight, and more.
This commit is contained in:
parent
57d79f43ed
commit
71de0f07a5
31 changed files with 165 additions and 25 deletions
59
scripts/ViridianPreGym.asm
Normal file
59
scripts/ViridianPreGym.asm
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
ViridianPreGym_Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld de, ViridianPreGym_ScriptPointers
|
||||
ld a, [wViridianPreGymCurScript]
|
||||
ret
|
||||
|
||||
ViridianPreGym_ScriptPointers:
|
||||
dw EndTrainerBattle
|
||||
|
||||
ViridianPreGym_TextPointers:
|
||||
dw YujirouText
|
||||
|
||||
YujirouText:
|
||||
text_asm
|
||||
ld hl, YujirouIntro
|
||||
call PrintText
|
||||
|
||||
ld c, BANK(Music_MeetMaleTrainer)
|
||||
ld a, MUSIC_MEET_MALE_TRAINER
|
||||
call PlayMusic
|
||||
|
||||
ld hl, wd72d
|
||||
set 6, [hl]
|
||||
set 7, [hl]
|
||||
call Delay3
|
||||
ld a, OPP_YUJIROU
|
||||
ld [wCurOpponent], a
|
||||
ld a, 1
|
||||
ld [wTrainerNo], a
|
||||
ld [wIsTrainerBattle], a ; note to self - make him play gym music...somehow.
|
||||
ld a, $2
|
||||
ld [wViridianPreGymCurScript], a
|
||||
ld hl, YujirouLoseText
|
||||
ld de, YujirouWinText
|
||||
call SaveEndBattleTextPointers
|
||||
jp TextScriptEnd
|
||||
jr .done
|
||||
.done
|
||||
ld hl, YujirouAfterBattleText
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
YujirouIntro::
|
||||
text_far _YujirouIntro
|
||||
text_end
|
||||
|
||||
YujirouLoseText::
|
||||
text_far _YujirouLoseText
|
||||
text_end
|
||||
|
||||
YujirouWinText::
|
||||
text_far _YujirouWinText
|
||||
text_end
|
||||
|
||||
YujirouAfterBattleText::
|
||||
text_far _YujirouAfterBattleText
|
||||
text_end
|
||||
|
||||
text_end ; unused
|
||||
Loading…
Add table
Add a link
Reference in a new issue