mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
wcf4b -> wStringBuffer
This commit is contained in:
parent
236426138b
commit
7ee8a6509e
51 changed files with 112 additions and 114 deletions
|
@ -60,7 +60,7 @@ _PokeCenterSignText::
|
|||
_FoundItemText::
|
||||
text "<PLAYER> found"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ _AIBattleUseItemText::
|
|||
prompt
|
||||
|
||||
_TradeWentToText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " went"
|
||||
line "to @"
|
||||
text_ram wLinkEnemyTrainerName
|
||||
|
@ -28,7 +28,7 @@ _TradeWentToText::
|
|||
_TradeForText::
|
||||
text "For <PLAYER>'s"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text ","
|
||||
done
|
||||
|
||||
|
@ -70,7 +70,7 @@ _TradeWillTradeText::
|
|||
_TradeforText::
|
||||
text "for <PLAYER>'s"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "."
|
||||
done
|
||||
|
||||
|
@ -106,7 +106,7 @@ _OneMoreGoSlotMachineText::
|
|||
_LinedUpText::
|
||||
text " lined up!"
|
||||
line "Scored @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " coins!"
|
||||
done
|
||||
|
||||
|
@ -1094,8 +1094,8 @@ _InsteadText::
|
|||
cont "@"
|
||||
text_end
|
||||
|
||||
_CF4BText::
|
||||
text_ram wcf4b
|
||||
_MoveNameText::
|
||||
text_ram wStringBuffer
|
||||
text "@"
|
||||
|
||||
_ExclamationPoint1Text::
|
||||
|
@ -1559,7 +1559,7 @@ _DepositWhichMonText::
|
|||
done
|
||||
|
||||
_MonWasStoredText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " was"
|
||||
line "stored in Box @"
|
||||
text_ram wBoxNumString
|
||||
|
@ -1577,11 +1577,11 @@ _BoxFullText::
|
|||
prompt
|
||||
|
||||
_MonIsTakenOutText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " is"
|
||||
line "taken out."
|
||||
cont "Got @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "."
|
||||
prompt
|
||||
|
||||
|
@ -1606,19 +1606,17 @@ _ReleaseWhichMonText::
|
|||
_OnceReleasedText::
|
||||
text "Once released,"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " is"
|
||||
cont "gone forever. OK?"
|
||||
done
|
||||
|
||||
_MonWasReleasedText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " was"
|
||||
line "released outside."
|
||||
cont "Bye @"
|
||||
|
||||
_CF4BExclamationText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!"
|
||||
prompt
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ _ChooseABoxText::
|
|||
text_end
|
||||
|
||||
_EvolvedText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " evolved"
|
||||
done
|
||||
|
||||
|
@ -46,14 +46,14 @@ _IntoText::
|
|||
|
||||
_StoppedEvolvingText::
|
||||
text "Huh? @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text_start
|
||||
line "stopped evolving!"
|
||||
prompt
|
||||
|
||||
_IsEvolvingText::
|
||||
text "What? @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text_start
|
||||
line "is evolving!"
|
||||
done
|
||||
|
@ -96,7 +96,7 @@ _FireDefrostedText::
|
|||
_MonsStatsRoseText::
|
||||
text "<USER>'s"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "@"
|
||||
text_end
|
||||
|
||||
|
@ -111,7 +111,7 @@ _RoseText::
|
|||
_MonsStatsFellText::
|
||||
text "<TARGET>'s"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ _PokemartBuyingGreetingText::
|
|||
done
|
||||
|
||||
_PokemartTellBuyPriceText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "?"
|
||||
line "That will be"
|
||||
cont "¥@"
|
||||
|
@ -85,7 +85,7 @@ _LearnedMove1Text::
|
|||
text_ram wLearnMoveMonName
|
||||
text " learned"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
@ -97,7 +97,7 @@ _WhichMoveToForgetText::
|
|||
_AbandonLearningText::
|
||||
text "Abandon learning"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "?"
|
||||
done
|
||||
|
||||
|
@ -106,7 +106,7 @@ _DidNotLearnText::
|
|||
text_start
|
||||
line "did not learn"
|
||||
cont "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!"
|
||||
prompt
|
||||
|
||||
|
@ -115,7 +115,7 @@ _TryingToLearnText::
|
|||
text " is"
|
||||
line "trying to learn"
|
||||
cont "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!"
|
||||
|
||||
para "But, @"
|
||||
|
@ -127,7 +127,7 @@ _TryingToLearnText::
|
|||
para "Delete an older"
|
||||
line "move to make room"
|
||||
cont "for @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "?"
|
||||
done
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ _SentToBoxText::
|
|||
text " was"
|
||||
cont "sent to #MON"
|
||||
cont "BOX @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " on PC!"
|
||||
done
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ _VitaminStatRoseText::
|
|||
text_ram wcd6d
|
||||
text "'s"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " rose."
|
||||
prompt
|
||||
|
||||
|
@ -138,13 +138,13 @@ _RestorePPWhichTechniqueText::
|
|||
done
|
||||
|
||||
_PPMaxedOutText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "'s PP"
|
||||
line "is maxed out."
|
||||
prompt
|
||||
|
||||
_PPIncreasedText::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "'s PP"
|
||||
line "increased."
|
||||
prompt
|
||||
|
@ -164,11 +164,11 @@ _BootedUpHMText::
|
|||
_TeachMachineMoveText::
|
||||
text "It contained"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!"
|
||||
|
||||
para "Teach @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text_start
|
||||
line "to a #MON?"
|
||||
done
|
||||
|
@ -178,12 +178,12 @@ _MonCannotLearnMachineMoveText::
|
|||
text " is not"
|
||||
line "compatible with"
|
||||
cont "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "."
|
||||
|
||||
para "It can't learn"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "."
|
||||
prompt
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ _ItemUseText001::
|
|||
text_end
|
||||
|
||||
_ItemUseText002::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!"
|
||||
done
|
||||
|
||||
|
@ -12,7 +12,7 @@ _GotOnBicycleText1::
|
|||
text_end
|
||||
|
||||
_GotOnBicycleText2::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!"
|
||||
prompt
|
||||
|
||||
|
@ -22,7 +22,7 @@ _GotOffBicycleText1::
|
|||
|
||||
_GotOffBicycleText2::
|
||||
text "the @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "."
|
||||
prompt
|
||||
|
||||
|
@ -36,7 +36,7 @@ _ThrewAwayItemText::
|
|||
_IsItOKToTossItemText::
|
||||
text "Is it OK to toss"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "?"
|
||||
prompt
|
||||
|
||||
|
@ -49,7 +49,7 @@ _AlreadyKnowsText::
|
|||
text_ram wcd6d
|
||||
text " knows"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!"
|
||||
prompt
|
||||
|
||||
|
|
|
@ -2239,7 +2239,7 @@ UseBagItem:
|
|||
ld a, [wcf91]
|
||||
ld [wd11e], a
|
||||
call GetItemName
|
||||
call CopyStringToCF4B ; copy name
|
||||
call CopyToStringBuffer
|
||||
xor a
|
||||
ld [wPseudoItemID], a
|
||||
call UseItem
|
||||
|
@ -3544,7 +3544,7 @@ CheckPlayerStatusConditions:
|
|||
ld a, RAGE
|
||||
ld [wd11e], a
|
||||
call GetMoveName
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
xor a
|
||||
ld [wPlayerMoveEffect], a
|
||||
ld hl, PlayerCanExecuteMove
|
||||
|
@ -3746,7 +3746,7 @@ PrintMoveName:
|
|||
ret
|
||||
|
||||
_PrintMoveName:
|
||||
text_far _CF4BText
|
||||
text_far _MoveNameText
|
||||
text_asm
|
||||
ld hl, ExclamationPointPointerTable
|
||||
ld a, [wd11e] ; exclamation point num
|
||||
|
@ -5108,7 +5108,7 @@ ReloadMoveData:
|
|||
call IncrementMovePP
|
||||
; the follow two function calls are used to reload the move name
|
||||
call GetMoveName
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
ld a, $01
|
||||
and a
|
||||
ret
|
||||
|
@ -5609,7 +5609,7 @@ EnemyCanExecuteChargingMove:
|
|||
ld [wNameListType], a
|
||||
call GetName
|
||||
ld de, wcd6d
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
EnemyCanExecuteMove:
|
||||
xor a
|
||||
ld [wMonIsDisobedient], a
|
||||
|
@ -6046,7 +6046,7 @@ CheckEnemyStatusConditions:
|
|||
ld a, RAGE
|
||||
ld [wd11e], a
|
||||
call GetMoveName
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
xor a
|
||||
ld [wEnemyMoveEffect], a
|
||||
ld hl, EnemyCanExecuteMove
|
||||
|
@ -6088,7 +6088,7 @@ GetCurrentMove:
|
|||
ld [wNameListType], a
|
||||
call GetName
|
||||
ld de, wcd6d
|
||||
jp CopyStringToCF4B
|
||||
jp CopyToStringBuffer
|
||||
|
||||
LoadEnemyMonData:
|
||||
ld a, [wLinkState]
|
||||
|
|
|
@ -751,7 +751,7 @@ PrintStatText:
|
|||
jr z, .findStatName_outer
|
||||
jr .findStatName_inner
|
||||
.foundStatName
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
ld bc, $a
|
||||
jp CopyData
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ LoadFossilItemAndMonName::
|
|||
ld a, [wFossilMon]
|
||||
ld [wd11e], a
|
||||
call GetMonName
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
ld a, [wFossilItem]
|
||||
ld [wd11e], a
|
||||
call GetItemName
|
||||
|
|
|
@ -18,7 +18,7 @@ _GivePokemon::
|
|||
callfar LoadEnemyMonData
|
||||
call SetPokedexOwnedFlag
|
||||
callfar SendNewMonToBox
|
||||
ld hl, wcf4b
|
||||
ld hl, wStringBuffer
|
||||
ld a, [wCurrentBoxNum]
|
||||
and $7f
|
||||
cp 9
|
||||
|
|
|
@ -159,7 +159,7 @@ DisplayPokemartDialogue_::
|
|||
ld a, [wcf91] ; item ID
|
||||
ld [wd11e], a ; store item ID for GetItemName
|
||||
call GetItemName
|
||||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
call CopyToStringBuffer
|
||||
ld hl, PokemartTellBuyPriceText
|
||||
call PrintText
|
||||
hlcoord 14, 7
|
||||
|
|
|
@ -1307,9 +1307,9 @@ ItemUseMedicine:
|
|||
jr nz, .statNameInnerLoop
|
||||
jr .statNameLoop
|
||||
.gotStatName
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
ld bc, 10
|
||||
call CopyData ; copy the stat's name to wcf4b
|
||||
call CopyData ; copy the stat's name to wStringBuffer
|
||||
ld a, SFX_HEAL_AILMENT
|
||||
call PlaySound
|
||||
ld hl, VitaminStatRoseText
|
||||
|
@ -1984,7 +1984,7 @@ ItemUsePPRestore:
|
|||
ld a, [hl]
|
||||
ld [wd11e], a
|
||||
call GetMoveName
|
||||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
call CopyToStringBuffer
|
||||
pop hl
|
||||
ld a, [wPPRestoreItem]
|
||||
cp ETHER
|
||||
|
@ -2161,7 +2161,7 @@ ItemUseTMHM:
|
|||
ld a, [wd11e]
|
||||
ld [wMoveNum], a
|
||||
call GetMoveName
|
||||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
call CopyToStringBuffer
|
||||
pop af
|
||||
ld hl, BootedUpTMText
|
||||
jr nc, .printBootedUpMachineText
|
||||
|
@ -2187,7 +2187,7 @@ ItemUseTMHM:
|
|||
ld a, [wcf91]
|
||||
push af
|
||||
.chooseMon
|
||||
ld hl, wcf4b
|
||||
ld hl, wStringBuffer
|
||||
ld de, wTempMoveNameBuffer
|
||||
ld bc, 14
|
||||
call CopyData ; save the move name because DisplayPartyMenu will overwrite it
|
||||
|
@ -2198,7 +2198,7 @@ ItemUseTMHM:
|
|||
call DisplayPartyMenu
|
||||
push af
|
||||
ld hl, wTempMoveNameBuffer
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
ld bc, 14
|
||||
call CopyData
|
||||
pop af
|
||||
|
@ -2553,7 +2553,7 @@ TossItem_::
|
|||
ld a, [wcf91]
|
||||
ld [wd11e], a
|
||||
call GetItemName
|
||||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
call CopyToStringBuffer
|
||||
ld hl, IsItOKToTossItemText
|
||||
call PrintText
|
||||
hlcoord 14, 7
|
||||
|
@ -2573,7 +2573,7 @@ TossItem_::
|
|||
ld a, [wcf91]
|
||||
ld [wd11e], a
|
||||
call GetItemName
|
||||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
call CopyToStringBuffer
|
||||
ld hl, ThrewAwayItemText
|
||||
call PrintText
|
||||
pop hl
|
||||
|
|
|
@ -39,7 +39,7 @@ AskName:
|
|||
pop hl
|
||||
pop af
|
||||
ld [wUpdateSpritesEnabled], a
|
||||
ld a, [wcf4b]
|
||||
ld a, [wStringBuffer]
|
||||
cp "@"
|
||||
ret nz
|
||||
.declinedNickname
|
||||
|
@ -63,7 +63,7 @@ DisplayNameRaterScreen::
|
|||
call GBPalWhiteOutWithDelay3
|
||||
call RestoreScreenTilesAndReloadTilePatterns
|
||||
call LoadGBPal
|
||||
ld a, [wcf4b]
|
||||
ld a, [wStringBuffer]
|
||||
cp "@"
|
||||
jr z, .playerCancelled
|
||||
ld hl, wPartyMonNicks
|
||||
|
@ -109,7 +109,7 @@ DisplayNamingScreen:
|
|||
ld a, 7
|
||||
ld [wMaxMenuItem], a
|
||||
ld a, "@"
|
||||
ld [wcf4b], a
|
||||
ld [wStringBuffer], a
|
||||
xor a
|
||||
ld hl, wNamingScreenSubmitName
|
||||
ld [hli], a
|
||||
|
@ -157,7 +157,7 @@ DisplayNamingScreen:
|
|||
|
||||
.submitNickname
|
||||
pop de
|
||||
ld hl, wcf4b
|
||||
ld hl, wStringBuffer
|
||||
ld bc, NAME_LENGTH
|
||||
call CopyData
|
||||
call GBPalWhiteOutWithDelay3
|
||||
|
@ -375,7 +375,7 @@ PrintNicknameAndUnderscores:
|
|||
lb bc, 1, 10
|
||||
call ClearScreenArea
|
||||
hlcoord 10, 2
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
call PlaceString
|
||||
hlcoord 10, 3
|
||||
ld a, [wNamingScreenType]
|
||||
|
@ -437,9 +437,9 @@ DakutensAndHandakutens:
|
|||
|
||||
INCLUDE "data/text/dakutens.asm"
|
||||
|
||||
; calculates the length of the string at wcf4b and stores it in c
|
||||
; calculates the length of the string at wStringBuffer and stores it in c
|
||||
CalcStringLength:
|
||||
ld hl, wcf4b
|
||||
ld hl, wStringBuffer
|
||||
ld c, $0
|
||||
.loop
|
||||
ld a, [hl]
|
||||
|
|
|
@ -367,7 +367,7 @@ StartMenu_Item::
|
|||
ld a, [wcf91]
|
||||
ld [wd11e], a
|
||||
call GetItemName
|
||||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
call CopyToStringBuffer
|
||||
ld a, [wcf91]
|
||||
cp BICYCLE
|
||||
jr nz, .notBicycle2
|
||||
|
|
|
@ -15,7 +15,7 @@ ChoosePlayerName:
|
|||
xor a ; NAME_PLAYER_SCREEN
|
||||
ld [wNamingScreenType], a
|
||||
call DisplayNamingScreen
|
||||
ld a, [wcf4b]
|
||||
ld a, [wStringBuffer]
|
||||
cp "@"
|
||||
jr z, .customName
|
||||
call ClearScreen
|
||||
|
@ -48,7 +48,7 @@ ChooseRivalName:
|
|||
ld a, NAME_RIVAL_SCREEN
|
||||
ld [wNamingScreenType], a
|
||||
call DisplayNamingScreen
|
||||
ld a, [wcf4b]
|
||||
ld a, [wStringBuffer]
|
||||
cp "@"
|
||||
jr z, .customName
|
||||
call ClearScreen
|
||||
|
|
|
@ -189,7 +189,7 @@ LoadTradingGFXAndMonNames:
|
|||
ld [wd11e], a
|
||||
call GetMonName
|
||||
ld hl, wcd6d
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
ld bc, NAME_LENGTH
|
||||
call CopyData
|
||||
ld a, [wTradedEnemyMonSpecies]
|
||||
|
|
|
@ -10,7 +10,7 @@ Trade_PrintPlayerMonInfoText:
|
|||
lb bc, LEADING_ZEROES | 1, 3
|
||||
call PrintNumber
|
||||
hlcoord 5, 2
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
call PlaceString
|
||||
hlcoord 8, 4
|
||||
ld de, wTradedPlayerMonOT
|
||||
|
|
|
@ -114,7 +114,7 @@ Evolution_PartyMonLoop: ; loop over party mons
|
|||
ld a, [wWhichPokemon]
|
||||
ld hl, wPartyMonNicks
|
||||
call GetPartyMonName
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
ld hl, IsEvolvingText
|
||||
call PrintText
|
||||
ld c, 50
|
||||
|
@ -268,7 +268,7 @@ RenameEvolvedMon:
|
|||
pop af
|
||||
ld [wd0b5], a
|
||||
ld hl, wcd6d
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
.compareNamesLoop
|
||||
ld a, [de]
|
||||
inc de
|
||||
|
@ -368,7 +368,7 @@ LearnMoveFromLevelUp:
|
|||
ld [wMoveNum], a
|
||||
ld [wd11e], a
|
||||
call GetMoveName
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
predef LearnMove
|
||||
.done
|
||||
ld a, [wcf91]
|
||||
|
|
|
@ -445,7 +445,7 @@ SlotMachine_CheckForMatches:
|
|||
ld a, [hli]
|
||||
ld h, [hl]
|
||||
ld l, a
|
||||
ld de, wcf4b
|
||||
ld de, wStringBuffer
|
||||
ld bc, 4
|
||||
call CopyData
|
||||
pop hl
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
; copies a string from [de] to [wcf4b]
|
||||
CopyStringToCF4B::
|
||||
ld hl, wcf4b
|
||||
; copies a string from de to wStringBuffer
|
||||
CopyToStringBuffer::
|
||||
ld hl, wStringBuffer
|
||||
; fall through
|
||||
|
||||
; copies a string from [de] to [hl]
|
||||
; copies a string from de to hl
|
||||
CopyString::
|
||||
ld a, [de]
|
||||
inc de
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
GiveItem::
|
||||
; Give player quantity c of item b,
|
||||
; and copy the item's name to wcf4b.
|
||||
; and copy the item's name to wStringBuffer.
|
||||
; Return carry on success.
|
||||
ld a, b
|
||||
ld [wd11e], a
|
||||
|
@ -11,7 +11,7 @@ GiveItem::
|
|||
call AddItemToInventory
|
||||
ret nc
|
||||
call GetItemName
|
||||
call CopyStringToCF4B
|
||||
call CopyToStringBuffer
|
||||
scf
|
||||
ret
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ DisplayListMenuIDLoop::
|
|||
call GetPartyMonName
|
||||
.storeChosenEntry ; store the menu entry that the player chose and return
|
||||
ld de, wcd6d
|
||||
call CopyStringToCF4B ; copy name to wcf4b
|
||||
call CopyToStringBuffer
|
||||
ld a, CHOSE_MENU_ITEM
|
||||
ld [wMenuExitMethod], a
|
||||
ld a, [wCurrentMenuItem]
|
||||
|
|
|
@ -56,7 +56,7 @@ _BillThankYouText::
|
|||
_SSTicketReceivedText::
|
||||
text "<PLAYER> received"
|
||||
line "an @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ _DaisyOfferMapText::
|
|||
_GotMapText::
|
||||
text "<PLAYER> got a"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ _TM41PreText::
|
|||
_ReceivedTM41Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ _CeladonDinerText_491a7::
|
|||
_ReceivedCoinCaseText::
|
||||
text "<PLAYER> received"
|
||||
line "a @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ _ErikaRainbowBadgeInfoText::
|
|||
_ReceivedTM21Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ _TM18PreReceiveText::
|
|||
_ReceivedTM18Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ _CeladonMartRoofText_484f3::
|
|||
_CeladonMartRoofText_484f9::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
@ -25,7 +25,7 @@ _CeladonMartRoofText_484fe::
|
|||
text_start
|
||||
|
||||
para "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " contains"
|
||||
line "ICE BEAM!"
|
||||
|
||||
|
@ -47,7 +47,7 @@ _CeladonMartRoofText_48504::
|
|||
_CeladonMartRoofText_4850a::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
@ -55,7 +55,7 @@ _CeladonMartRoofText_4850f::
|
|||
text_start
|
||||
|
||||
para "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text " contains"
|
||||
line "ROCK SLIDE!"
|
||||
|
||||
|
@ -137,7 +137,7 @@ _VendingMachineText4::
|
|||
done
|
||||
|
||||
_VendingMachineText5::
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text_start
|
||||
line "popped out!"
|
||||
done
|
||||
|
|
|
@ -45,7 +45,7 @@ _BlaineVolcanoBadgeInfoText::
|
|||
_ReceivedTM38Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ _Lab4Text_75dd5::
|
|||
line "back to life!"
|
||||
|
||||
para "It was @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text_start
|
||||
line "like I think!"
|
||||
prompt
|
||||
|
@ -43,7 +43,7 @@ _Lab4Text_610ae::
|
|||
|
||||
para "It is fossil of"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text ", a"
|
||||
cont "#MON that is"
|
||||
cont "already extinct!"
|
||||
|
|
|
@ -9,7 +9,7 @@ _TM35PreReceiveText::
|
|||
_ReceivedTM35Text::
|
||||
text "<PLAYER> received "
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ _TM31PreReceiveText::
|
|||
_ReceivedTM31Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ _FuchsiaHouse3Text_561c2::
|
|||
|
||||
para "<PLAYER> received"
|
||||
line "a @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ _KogaSoulBadgeInfoText::
|
|||
_ReceivedTM06Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ _LavenderHouse1Text_1d94c::
|
|||
_ReceivedFluteText::
|
||||
text "<PLAYER> received"
|
||||
line "a @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ _TM29PreReceiveText::
|
|||
_ReceivedTM29Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ _MtMoon3Text_49f64::
|
|||
_MtMoon3Text_49f6f::
|
||||
text "<PLAYER> got the"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ FanClubChairStoryText::
|
|||
ReceivedBikeVoucherText::
|
||||
text "<PLAYER> received"
|
||||
line "a @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ _Route1ViridianMartSampleText::
|
|||
_Route1Text_1cae8::
|
||||
text "<PLAYER> got"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ _Route12HouseText_564c5::
|
|||
|
||||
para "<PLAYER> received"
|
||||
line "a @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ _Route24Text_51515::
|
|||
_Route24Text_5151a::
|
||||
text "<PLAYER> received"
|
||||
line "a @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ _ReceivingHM01Text::
|
|||
_ReceivedHM01Text::
|
||||
text "<PLAYER> got"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ _SecretHouseText_4a350::
|
|||
_ReceivedHM03Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ _SilphCoPresidentText::
|
|||
_ReceivedSilphCoMasterBallText::
|
||||
text "<PLAYER> got a"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ _SilphCo2Text_59ded::
|
|||
_ReceivedTM36Text::
|
||||
text "<PLAYER> got"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ _LTSurgeThunderBadgeInfoText::
|
|||
_ReceivedTM24Text::
|
||||
text "<PLAYER> received "
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ _VermilionHouse2Text_560b6::
|
|||
|
||||
para "<PLAYER> received"
|
||||
line "an @"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ _WardenThankYouText::
|
|||
_ReceivedHM04Text::
|
||||
text "<PLAYER> received"
|
||||
line "@"
|
||||
text_ram wcf4b
|
||||
text_ram wStringBuffer
|
||||
text "!@"
|
||||
text_end
|
||||
|
||||
|
|
2
wram.asm
2
wram.asm
|
@ -1055,7 +1055,7 @@ wPartyMenuBlkPacket:: ds $30
|
|||
NEXTU
|
||||
ds 29
|
||||
; storage buffer for various strings
|
||||
wcf4b:: ds 20
|
||||
wStringBuffer:: ds 20
|
||||
|
||||
NEXTU
|
||||
ds 29
|
||||
|
|
Loading…
Reference in a new issue