mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Rename predef functions so they aren't excessive in length.
This is mostly because of an rgbasm bug that prevents macro arguments from exceeding 16 characters, but the names were bad anyway.
This commit is contained in:
parent
38ac74f222
commit
35f2bb90d4
29 changed files with 81 additions and 103 deletions
|
|
@ -157,7 +157,7 @@ CeladonGameCornerText2: ; 48ca9 (12:4ca9)
|
|||
ld hl, $ffa1
|
||||
ld de, wPlayerMoney + 2
|
||||
ld c, $3
|
||||
ld a, $c ; SubtractBCDPredef
|
||||
ld a, $c ; SubBCDPredef
|
||||
call Predef
|
||||
xor a
|
||||
ldh [$9f], a
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
|
|||
inc hl
|
||||
ld de, wPlayerMoney + 2
|
||||
ld c, $3
|
||||
ld a, $c ; SubtractBCDPredef
|
||||
ld a, $c ; SubBCDPredef
|
||||
call Predef
|
||||
ld a, (SFX_02_5a - SFX_Headers_02) / 3
|
||||
call PlaySoundWaitForCurrent
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
|
|||
ld hl, wTrainerFacingDirection
|
||||
ld de, wPlayerMoney + 2
|
||||
ld c, $3
|
||||
ld a, $c ; SubtractBCDPredef
|
||||
ld a, $c ; SubBCDPredef
|
||||
call Predef
|
||||
ld a, $13
|
||||
ld [wd125], a
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ Museum1FText1: ; 5c135 (17:4135)
|
|||
ld hl, wTrainerFacingDirection
|
||||
ld de, wPlayerMoney + 2
|
||||
ld c, $3
|
||||
ld a, $c ; SubtractBCDPredef
|
||||
ld a, $c ; SubBCDPredef
|
||||
call Predef
|
||||
ld a, $13
|
||||
ld [wd125], a
|
||||
|
|
|
|||
|
|
@ -847,7 +847,7 @@ OaksLabScript_1d157: ; 1d157 (7:5157)
|
|||
ld hl, wd730
|
||||
set 6, [hl]
|
||||
ld a, $46
|
||||
call Predef ; DisplayStarterMonDex
|
||||
call Predef ; StarterDex
|
||||
ld hl, wd730
|
||||
res 6, [hl]
|
||||
call ReloadMapData
|
||||
|
|
@ -921,7 +921,7 @@ asm_1d1e5: ; 1d1e5 (7:51e5)
|
|||
ld [W_CURENEMYLVL], a
|
||||
ld a, [wcf91]
|
||||
ld [wd11e], a
|
||||
call AddPokemonToParty
|
||||
call AddPartyMon
|
||||
ld hl, wd72e
|
||||
set 3, [hl]
|
||||
ld a, $fc
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ SafariZoneEntranceText4: ; 752ca (1d:52ca)
|
|||
ld hl, wTrainerFacingDirection
|
||||
ld de, wPlayerMoney + 2
|
||||
ld c, $3
|
||||
ld a, $c ; SubtractBCDPredef
|
||||
ld a, $c ; SubBCDPredef
|
||||
call Predef
|
||||
ld a, $13
|
||||
ld [wd125], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue