mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
named wram variables
This commit is contained in:
parent
99df5f0fd7
commit
4a8c9993ad
21 changed files with 253 additions and 173 deletions
|
|
@ -26,7 +26,7 @@ CeruleanHouse2Text1: ; 74e15 (1d:4e15)
|
|||
ld a, h
|
||||
ld [wList + 1], a
|
||||
xor a
|
||||
ld [wcf93], a
|
||||
ld [wPrintItemPrices], a
|
||||
ld [wMenuItemToSwap], a
|
||||
ld a, SPECIALLISTMENU
|
||||
ld [wListMenuID], a
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ DayCareMText1: ; 56254 (15:6254)
|
|||
ld [W_DAYCARE_IN_USE], a
|
||||
ld a, $3
|
||||
ld [wcf95], a
|
||||
call Func_3a68
|
||||
call MoveMon
|
||||
xor a
|
||||
ld [wcf95], a
|
||||
call RemovePokemon
|
||||
|
|
@ -158,14 +158,14 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
|
|||
predef SubBCDPredef
|
||||
ld a, (SFX_02_5a - SFX_Headers_02) / 3
|
||||
call PlaySoundWaitForCurrent
|
||||
ld a, $13
|
||||
ld a, MONEY_BOX
|
||||
ld [wTextBoxID], a
|
||||
call DisplayTextBoxID
|
||||
ld hl, DayCareMText_5644f
|
||||
call PrintText
|
||||
ld a, $2
|
||||
ld [wcf95], a
|
||||
call Func_3a68
|
||||
call MoveMon
|
||||
ld a, [wDayCareMonSpecies]
|
||||
ld [wcf91], a
|
||||
ld a, [wPartyCount]
|
||||
|
|
|
|||
|
|
@ -641,7 +641,7 @@ OaksLabScript_1d00a: ; 1d00a (7:500a)
|
|||
ld a, c
|
||||
ld [wWhichPokemon], a
|
||||
ld a, $1
|
||||
ld [wcf96], a
|
||||
ld [wItemQuantity], a
|
||||
jp RemoveItemFromInventory
|
||||
|
||||
OaksLabScript_1d02b: ; 1d02b (7:502b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue