mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
WIP Battle Tent: win counter on each battle
This commit is contained in:
parent
86ede20d97
commit
12b5fb8f8e
|
@ -626,7 +626,6 @@ BattleTentGuy2:
|
||||||
ld a, [wBTCont] ; The streak counter is still used for message continuity.
|
ld a, [wBTCont] ; The streak counter is still used for message continuity.
|
||||||
cp $FF ; very first initial battle
|
cp $FF ; very first initial battle
|
||||||
jr z, .init
|
jr z, .init
|
||||||
ld hl, BattleTentGuy2_Streak ; The message has been changed appropriately down below.
|
|
||||||
xor a ; The D-Pad is locked at this point, so blank out wJoyIgnore to allow manual option selection.
|
xor a ; The D-Pad is locked at this point, so blank out wJoyIgnore to allow manual option selection.
|
||||||
ld [wJoyIgnore], a
|
ld [wJoyIgnore], a
|
||||||
ld hl, BattleTentGuy2_Continue ; Continue prompt.
|
ld hl, BattleTentGuy2_Continue ; Continue prompt.
|
||||||
|
@ -635,6 +634,8 @@ BattleTentGuy2:
|
||||||
ld a, [wCurrentMenuItem]
|
ld a, [wCurrentMenuItem]
|
||||||
and a
|
and a
|
||||||
jr nz, .refused ; If 0, move to refused.
|
jr nz, .refused ; If 0, move to refused.
|
||||||
|
ld hl, BattleTentGuy2_Streak ; The message has been changed appropriately down below.
|
||||||
|
jr .done
|
||||||
.init
|
.init
|
||||||
ld hl, BattleTentGuy2_Init ; Load the next battle.
|
ld hl, BattleTentGuy2_Init ; Load the next battle.
|
||||||
call PrintText
|
call PrintText
|
||||||
|
@ -815,7 +816,7 @@ BattleTentGuy2_Init:
|
||||||
; Cut in favour of a different system.
|
; Cut in favour of a different system.
|
||||||
BattleTentGuy2_Streak:
|
BattleTentGuy2_Streak:
|
||||||
; text "Opponent No.@" ; could be a №?
|
; text "Opponent No.@" ; could be a №?
|
||||||
; text_decimal wBTStreakCnt, 1, 2
|
; text_decimal wBTStreakCnt, 1, 3
|
||||||
; text_start
|
; text_start
|
||||||
; line "is up next."
|
; line "is up next."
|
||||||
; para "Good luck!"
|
; para "Good luck!"
|
||||||
|
@ -827,6 +828,11 @@ BattleTentGuy2_Streak:
|
||||||
BattleTentGuy2_Continue:
|
BattleTentGuy2_Continue:
|
||||||
text "Congratulations!"
|
text "Congratulations!"
|
||||||
|
|
||||||
|
para "You're at"
|
||||||
|
line "@"
|
||||||
|
text_decimal wBTStreakCnt, 1, 3
|
||||||
|
text " win(s)!"
|
||||||
|
|
||||||
para "Do you want to"
|
para "Do you want to"
|
||||||
line "continue?"
|
line "continue?"
|
||||||
prompt
|
prompt
|
||||||
|
@ -835,10 +841,10 @@ BattleTentGuy2_Win:
|
||||||
;text "Congratulations!"
|
;text "Congratulations!"
|
||||||
text "Well done!"
|
text "Well done!"
|
||||||
|
|
||||||
para "You have defeated"
|
para "You defeated"
|
||||||
line "@"
|
line "@"
|
||||||
text_decimal wBTStreakCnt, 1, 3
|
text_decimal wBTStreakCnt, 1, 3
|
||||||
text " opponents!"
|
text " opponent(s)!"
|
||||||
|
|
||||||
para "Please go back to"
|
para "Please go back to"
|
||||||
line "the counter to"
|
line "the counter to"
|
||||||
|
|
Loading…
Reference in a new issue