You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Create some battle tower SRAM labels
This commit is contained in:
@@ -152,7 +152,7 @@ BattleAnimRestoreHuds:
|
||||
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, BANK(wCurBattleMon) ; alternatively: BANK(wTempMon), BANK(wPartyMon1), several others
|
||||
ld a, BANK(wCurBattleMon) ; aka BANK(wTempMon) and BANK(wPartyMon1) and several others
|
||||
ldh [rSVBK], a
|
||||
|
||||
ld hl, UpdateBattleHuds
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -17,8 +17,8 @@ CheckForMobileBattleRules:
|
||||
|
||||
.TextPointers:
|
||||
dw .ExcuseMeText
|
||||
dw JumpText_NeedAtLeastThreeMon
|
||||
dw JumpText_EggDoesNotQualify
|
||||
dw NeedAtLeastThreeMonText
|
||||
dw EggDoesNotQualifyText
|
||||
|
||||
.ExcuseMeText:
|
||||
; Excuse me!
|
||||
@@ -50,10 +50,10 @@ _CheckForBattleTowerRules:
|
||||
|
||||
.TextPointers:
|
||||
dw JumpText_ExcuseMeYoureNotReady
|
||||
dw JumpText_OnlyThreeMonMayBeEntered
|
||||
dw JumpText_TheMonMustAllBeDifferentKinds
|
||||
dw JumpText_TheMonMustNotHoldTheSameItems
|
||||
dw JumpText_YouCantTakeAnEgg
|
||||
dw OnlyThreeMonMayBeEnteredText
|
||||
dw TheMonMustAllBeDifferentKindsText
|
||||
dw TheMonMustNotHoldTheSameItemsText
|
||||
dw YouCantTakeAnEggText
|
||||
|
||||
JumpText_ExcuseMeYoureNotReady:
|
||||
; Excuse me. You're not ready.
|
||||
@@ -70,34 +70,34 @@ BattleTower_PleaseReturnWhenReady:
|
||||
text_far UnknownText_0x1c5962
|
||||
text_end
|
||||
|
||||
JumpText_NeedAtLeastThreeMon:
|
||||
NeedAtLeastThreeMonText:
|
||||
; You need at least three #MON.
|
||||
text_far UnknownText_0x1c5983
|
||||
text_far _NeedAtLeastThreeMonText
|
||||
text_end
|
||||
|
||||
JumpText_EggDoesNotQualify:
|
||||
EggDoesNotQualifyText:
|
||||
; Sorry, an EGG doesn't qualify.
|
||||
text_far UnknownText_0x1c59a3
|
||||
text_far _EggDoesNotQualifyText
|
||||
text_end
|
||||
|
||||
JumpText_OnlyThreeMonMayBeEntered:
|
||||
OnlyThreeMonMayBeEnteredText:
|
||||
; Only three #MON may be entered.
|
||||
text_far Text_OnlyThreeMonMayBeEntered
|
||||
text_far _OnlyThreeMonMayBeEnteredText
|
||||
text_end
|
||||
|
||||
JumpText_TheMonMustAllBeDifferentKinds:
|
||||
TheMonMustAllBeDifferentKindsText:
|
||||
; The @ #MON must all be different kinds.
|
||||
text_far Text_TheMonMustAllBeDifferentKinds
|
||||
text_far _TheMonMustAllBeDifferentKindsText
|
||||
text_end
|
||||
|
||||
JumpText_TheMonMustNotHoldTheSameItems:
|
||||
TheMonMustNotHoldTheSameItemsText:
|
||||
; The @ #MON must not hold the same items.
|
||||
text_far Text_TheMonMustNotHoldTheSameItems
|
||||
text_far _TheMonMustNotHoldTheSameItemsText
|
||||
text_end
|
||||
|
||||
JumpText_YouCantTakeAnEgg:
|
||||
YouCantTakeAnEggText:
|
||||
; You can't take an EGG!
|
||||
text_far Text_YouCantTakeAnEgg
|
||||
text_far _YouCantTakeAnEggText
|
||||
text_end
|
||||
|
||||
BattleTower_ExecuteJumptable:
|
||||
@@ -161,7 +161,7 @@ BattleTower_ExecuteJumptable:
|
||||
call z, .PrintFirstText
|
||||
pop bc
|
||||
call .PrintNthText
|
||||
ld b, $1
|
||||
ld b, 1
|
||||
pop de
|
||||
ret
|
||||
|
||||
@@ -178,7 +178,7 @@ BattleTower_ExecuteJumptable:
|
||||
call .GetTextPointers
|
||||
inc hl
|
||||
inc hl
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
call .LoadTextPointer
|
||||
@@ -194,7 +194,7 @@ BattleTower_CheckPartyLengthIs3:
|
||||
BattleTower_CheckPartyHasThreeMonsThatAreNotEggs:
|
||||
ld hl, wPartyCount
|
||||
ld a, [hli]
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
ld c, a
|
||||
.loop
|
||||
ld a, [hli]
|
||||
|
||||
Reference in New Issue
Block a user