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
|
|
@ -1,4 +1,4 @@
|
|||
PrintEmotionBubble: ; 17c47 (5:7c47)
|
||||
EmotionBubble: ; 17c47 (5:7c47)
|
||||
ld a, [wcd50]
|
||||
ld c, a
|
||||
ld b, $0
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ PickupItem:
|
|||
|
||||
ld a, [$ffdb]
|
||||
ld [wcc4d], a
|
||||
ld a, $11 ; RemoveMissableObject
|
||||
ld a, $11 ; HideObject
|
||||
call Predef
|
||||
ld a, 1
|
||||
ld [wcc3c], a
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ Func_705aa: ; 705aa (1c:45aa)
|
|||
ld [hl], a
|
||||
jp Func_70755
|
||||
|
||||
_DoFlyOrTeleportAwayGraphics: ; 705ba (1c:45ba)
|
||||
_LeaveMapAnim: ; 705ba (1c:45ba)
|
||||
call Func_706ef
|
||||
call Func_70787
|
||||
ld a, b
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ Func_56903: ; 56903 (15:6903)
|
|||
ret
|
||||
|
||||
; tests if this trainer is in the right position to engage the player and do so if she is.
|
||||
CheckEngagePlayer: ; 5690f (15:690f)
|
||||
TrainerEngage: ; 5690f (15:690f)
|
||||
push hl
|
||||
push de
|
||||
ld a, [wTrainerSpriteOffset] ; wWhichTrade
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue