mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Merge branch 'master' of https://github.com/pret/pokered
This commit is contained in:
commit
31b118ab42
310 changed files with 1009 additions and 2705 deletions
|
|
@ -373,9 +373,6 @@ ENDC
|
|||
IF DEF(_BLUE)
|
||||
INCBIN "gfx/blue/slotmachine2.2bpp"
|
||||
ENDC
|
||||
IF DEF(_YELLOW)
|
||||
INCBIN "gfx/yellow/slotmachine2.2bpp"
|
||||
ENDC
|
||||
|
||||
MoveAnimation: ; 78d5e (1e:4d5e)
|
||||
push hl
|
||||
|
|
|
|||
|
|
@ -1727,7 +1727,7 @@ LoadBattleMonFromParty: ; 3cba6 (f:4ba6)
|
|||
ld bc, NUM_MOVES
|
||||
call CopyData
|
||||
ld de, wBattleMonLevel
|
||||
ld bc, $b
|
||||
ld bc, wBattleMonPP - wBattleMonLevel
|
||||
call CopyData
|
||||
ld a, [wBattleMonSpecies2]
|
||||
ld [wd0b5], a
|
||||
|
|
@ -1771,7 +1771,7 @@ LoadEnemyMonFromParty: ; 3cc13 (f:4c13)
|
|||
ld bc, NUM_MOVES
|
||||
call CopyData
|
||||
ld de, wEnemyMonLevel
|
||||
ld bc, $b
|
||||
ld bc, wEnemyMonPP - wEnemyMonLevel
|
||||
call CopyData
|
||||
ld a, [wEnemyMonSpecies]
|
||||
ld [wd0b5], a
|
||||
|
|
@ -1913,11 +1913,11 @@ DrawPlayerHUDAndHPBar: ; 3cd60 (f:4d60)
|
|||
call PlaceString
|
||||
ld hl, wBattleMonSpecies
|
||||
ld de, wLoadedMon
|
||||
ld bc, $c
|
||||
ld bc, wBattleMonDVs - wBattleMonSpecies
|
||||
call CopyData
|
||||
ld hl, wBattleMonLevel
|
||||
ld de, wLoadedMonLevel
|
||||
ld bc, $b
|
||||
ld bc, wBattleMonPP - wBattleMonLevel
|
||||
call CopyData
|
||||
coord hl, 14, 8
|
||||
push hl
|
||||
|
|
@ -2982,11 +2982,7 @@ PrintMenuItem: ; 3d4b6 (f:54b6)
|
|||
jp Delay3
|
||||
|
||||
DisabledText: ; 3d555 (f:5555)
|
||||
IF DEF(_YELLOW)
|
||||
db "Disabled!@"
|
||||
ELSE
|
||||
db "disabled!@"
|
||||
ENDC
|
||||
|
||||
TypeText: ; 3d55f (f:555f)
|
||||
db "TYPE@"
|
||||
|
|
|
|||
|
|
@ -863,7 +863,7 @@ ItemUseMedicine: ; dabb (3:5abb)
|
|||
jr nc,.healHP ; if it's a Full Restore or one of the potions
|
||||
; fall through if it's one of the status-specifc healing items
|
||||
.cureStatusAilment
|
||||
ld bc,4
|
||||
ld bc,wPartyMon1Status - wPartyMon1
|
||||
add hl,bc ; hl now points to status
|
||||
ld a,[wcf91]
|
||||
lb bc, ANTIDOTE_MSG, 1 << PSN
|
||||
|
|
@ -2039,7 +2039,7 @@ ItemUsePPRestore: ; e31e (3:631e)
|
|||
cp a,ETHER
|
||||
jr nc,.useEther ; if Ether or Max Ether
|
||||
.usePPUp
|
||||
ld bc,21
|
||||
ld bc,wPartyMon1PP - wPartyMon1Moves
|
||||
add hl,bc
|
||||
ld a,[hl] ; move PP
|
||||
cp a,3 << 6 ; have 3 PP Ups already been used?
|
||||
|
|
|
|||
|
|
@ -343,9 +343,6 @@ BillsPCMenuText: ; 216e1 (8:56e1)
|
|||
next "DEPOSIT ", $4a
|
||||
next "RELEASE ", $4a
|
||||
next "CHANGE BOX"
|
||||
IF DEF(_YELLOW)
|
||||
next "PRINT BOX"
|
||||
ENDC
|
||||
next "SEE YA!"
|
||||
db "@"
|
||||
|
||||
|
|
|
|||
|
|
@ -367,9 +367,6 @@ PokedexMenuItemsText: ; 402af (10:42af)
|
|||
db "DATA"
|
||||
next "CRY"
|
||||
next "AREA"
|
||||
IF DEF(_YELLOW)
|
||||
next "PRNT"
|
||||
ENDC
|
||||
next "QUIT@"
|
||||
|
||||
; tests if a pokemon's bit is set in the seen or owned pokemon bit fields
|
||||
|
|
|
|||
|
|
@ -219,22 +219,6 @@ DefaultNamesRival: ; 6abe (1:6abe)
|
|||
db "@"
|
||||
ENDC
|
||||
|
||||
IF DEF(_YELLOW)
|
||||
DefaultNamesPlayer:
|
||||
db "NEW NAME"
|
||||
next "YELLOW"
|
||||
next "ASH"
|
||||
next "JACK"
|
||||
db "@"
|
||||
|
||||
DefaultNamesRival:
|
||||
db "NEW NAME"
|
||||
next "BLUE"
|
||||
next "GARY"
|
||||
next "JOHN"
|
||||
db "@"
|
||||
ENDC
|
||||
|
||||
GetDefaultName: ; 6ad6 (1:6ad6)
|
||||
; a = name index
|
||||
; hl = name list
|
||||
|
|
@ -283,18 +267,6 @@ DefaultNamesRivalList: ; 6b08 (1:6b08)
|
|||
db "ASH@"
|
||||
db "JACK@"
|
||||
ENDC
|
||||
IF DEF(_YELLOW)
|
||||
DefaultNamesPlayerList:
|
||||
db "NEW NAME@"
|
||||
db "YELLOW@"
|
||||
db "ASH@"
|
||||
db "JACK@"
|
||||
DefaultNamesRivalList:
|
||||
db "NEW NAME@"
|
||||
db "BLUE@"
|
||||
db "GARY@"
|
||||
db "JOHN@"
|
||||
ENDC
|
||||
|
||||
TextTerminator_6b20: ; 6b20 (1:6b20)
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -888,6 +888,3 @@ ENDC
|
|||
IF DEF(_BLUE)
|
||||
INCBIN "gfx/blue/slotmachine1.2bpp"
|
||||
ENDC
|
||||
IF DEF(_YELLOW)
|
||||
INCBIN "gfx/yellow/slotmachine1.2bpp"
|
||||
ENDC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue