mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
Remove the last address comments
except for wram.asm and sram.asm also delete unused yellow file
This commit is contained in:
parent
48e0125bd6
commit
a51037eeee
458 changed files with 532 additions and 791 deletions
|
|
@ -253,7 +253,7 @@ PlayAnimation:
|
|||
.nextAnimationCommand
|
||||
pop hl
|
||||
jr .animationLoop
|
||||
.AnimationOver ; 417B
|
||||
.AnimationOver
|
||||
ret
|
||||
|
||||
LoadSubanimation:
|
||||
|
|
@ -926,7 +926,7 @@ BallMoveDistances1:
|
|||
db $ff ; terminator
|
||||
|
||||
; function to make the pokeball jump up
|
||||
TradeJumpPokeball: ; 507C
|
||||
TradeJumpPokeball:
|
||||
ld de,BallMoveDistances2
|
||||
.loop
|
||||
ld hl,wOAMBuffer ; OAM buffer
|
||||
|
|
@ -2996,7 +2996,7 @@ TossBallAnimation:
|
|||
; sequence of animations that make up the Poké Ball toss
|
||||
db POOF_ANIM,HIDEPIC_ANIM,SHAKE_ANIM,POOF_ANIM,SHOWPIC_ANIM
|
||||
|
||||
.BlockBall ; 5E55
|
||||
.BlockBall
|
||||
ld a,TOSS_ANIM
|
||||
ld [wAnimationID],a
|
||||
call PlayAnimation
|
||||
|
|
|
|||
|
|
@ -819,7 +819,7 @@ HandleEnemyMonFainted:
|
|||
ld [wActionResultOrTookBattleTurn], a
|
||||
jp MainInBattleLoop
|
||||
|
||||
FaintEnemyPokemon: ; 0x3c567
|
||||
FaintEnemyPokemon:
|
||||
call ReadPlayerMonCurHPAndStatus
|
||||
ld a, [wIsInBattle]
|
||||
dec a
|
||||
|
|
@ -945,7 +945,7 @@ FaintEnemyPokemon: ; 0x3c567
|
|||
ld [wPartyGainExpFlags], a
|
||||
jpab GainExperience
|
||||
|
||||
EnemyMonFaintedText: ; 0x3c63e
|
||||
EnemyMonFaintedText:
|
||||
TX_FAR _EnemyMonFaintedText
|
||||
db "@"
|
||||
|
||||
|
|
@ -4672,7 +4672,6 @@ UnusedHighCriticalMoves:
|
|||
db CRABHAMMER
|
||||
db SLASH
|
||||
db $FF
|
||||
; 3e023
|
||||
|
||||
; determines if attack is a critical hit
|
||||
; azure heights claims "the fastest pokémon (who are,not coincidentally,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ SetupEnemyPartyPokeballs:
|
|||
ld hl, wOAMBuffer + PARTY_LENGTH * 4
|
||||
jp WritePokeballOAMData
|
||||
|
||||
SetupPokeballs: ; 0x3a8a6
|
||||
SetupPokeballs:
|
||||
ld a, [de]
|
||||
push af
|
||||
ld de, wBuffer
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ AIMoveChoiceModification1:
|
|||
ld [hl], a
|
||||
jr .nextMove
|
||||
|
||||
StatusAilmentMoveEffects: ; 57e2
|
||||
StatusAilmentMoveEffects:
|
||||
db $01 ; unused sleep effect
|
||||
db SLEEP_EFFECT
|
||||
db POISON_EFFECT
|
||||
|
|
@ -731,7 +731,7 @@ AICureStatus:
|
|||
res 0,[hl]
|
||||
ret
|
||||
|
||||
AIUseXAccuracy: ; 0x3a7a8 unused
|
||||
AIUseXAccuracy: ; unused
|
||||
call AIPlayRestoringSFX
|
||||
ld hl,wEnemyBattleStatus2
|
||||
set 0,[hl]
|
||||
|
|
@ -745,7 +745,7 @@ AIUseGuardSpec:
|
|||
ld a,GUARD_SPEC
|
||||
jp AIPrintItemUse
|
||||
|
||||
AIUseDireHit: ; 0x3a7c2 unused
|
||||
AIUseDireHit: ; unused
|
||||
call AIPlayRestoringSFX
|
||||
ld hl,wEnemyBattleStatus2
|
||||
set 2,[hl]
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ CableClub_DoBattleOrTrade:
|
|||
; fall through
|
||||
|
||||
; This is called after completing a trade.
|
||||
CableClub_DoBattleOrTradeAgain: ; 5345
|
||||
CableClub_DoBattleOrTradeAgain:
|
||||
ld hl, wSerialPlayerDataBlock
|
||||
ld a, SERIAL_PREAMBLE_BYTE
|
||||
ld b, 6
|
||||
|
|
|
|||
|
|
@ -432,7 +432,6 @@ GymTrashCans:
|
|||
db 2, 9, 13, 0, 0 ; 12
|
||||
db 3, 10, 12, 14, 0 ; 13
|
||||
db 2, 11, 13, 0, 0 ; 14
|
||||
; 5dec8
|
||||
|
||||
VermilionGymTrashSuccessText1:
|
||||
TX_FAR _VermilionGymTrashSuccessText1
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ OaksPCText: db "PROF.OAK's PC@"
|
|||
PKMNLeaguePCText: db $4a, "LEAGUE@"
|
||||
LogOffPCText: db "LOG OFF@"
|
||||
|
||||
BillsPC_:: ; 0x214c2
|
||||
BillsPC_::
|
||||
ld hl, wd730
|
||||
set 6, [hl]
|
||||
xor a
|
||||
|
|
@ -457,51 +457,51 @@ StatsCancelPCText:
|
|||
db "STATS"
|
||||
next "CANCEL@"
|
||||
|
||||
SwitchOnText: ; 0x217e9
|
||||
SwitchOnText:
|
||||
TX_FAR _SwitchOnText
|
||||
db "@"
|
||||
|
||||
WhatText: ; 0x217ee
|
||||
WhatText:
|
||||
TX_FAR _WhatText
|
||||
db "@"
|
||||
|
||||
DepositWhichMonText: ; 0x217f3
|
||||
DepositWhichMonText:
|
||||
TX_FAR _DepositWhichMonText
|
||||
db "@"
|
||||
|
||||
MonWasStoredText: ; 0x217f8
|
||||
MonWasStoredText:
|
||||
TX_FAR _MonWasStoredText
|
||||
db "@"
|
||||
|
||||
CantDepositLastMonText: ; 0x217fd
|
||||
CantDepositLastMonText:
|
||||
TX_FAR _CantDepositLastMonText
|
||||
db "@"
|
||||
|
||||
BoxFullText: ; 0x21802
|
||||
BoxFullText:
|
||||
TX_FAR _BoxFullText
|
||||
db "@"
|
||||
|
||||
MonIsTakenOutText: ; 0x21807
|
||||
MonIsTakenOutText:
|
||||
TX_FAR _MonIsTakenOutText
|
||||
db "@"
|
||||
|
||||
NoMonText: ; 0x2180c
|
||||
NoMonText:
|
||||
TX_FAR _NoMonText
|
||||
db "@"
|
||||
|
||||
CantTakeMonText: ; 0x21811
|
||||
CantTakeMonText:
|
||||
TX_FAR _CantTakeMonText
|
||||
db "@"
|
||||
|
||||
ReleaseWhichMonText: ; 0x21816
|
||||
ReleaseWhichMonText:
|
||||
TX_FAR _ReleaseWhichMonText
|
||||
db "@"
|
||||
|
||||
OnceReleasedText: ; 0x2181b
|
||||
OnceReleasedText:
|
||||
TX_FAR _OnceReleasedText
|
||||
db "@"
|
||||
|
||||
MonWasReleasedText: ; 0x21820
|
||||
MonWasReleasedText:
|
||||
TX_FAR _MonWasReleasedText
|
||||
db "@"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
PKMNLeaguePC: ; 0x7657e
|
||||
PKMNLeaguePC:
|
||||
ld hl, AccessedHoFPCText
|
||||
call PrintText
|
||||
ld hl, wd730
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ AskName:
|
|||
ld bc, NAME_LENGTH
|
||||
jp CopyData
|
||||
|
||||
DoYouWantToNicknameText: ; 0x6557
|
||||
DoYouWantToNicknameText:
|
||||
TX_FAR _DoYouWantToNicknameText
|
||||
db "@"
|
||||
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ OKText:
|
|||
db "OK@"
|
||||
|
||||
; Draws a line starting from hl high b and wide c
|
||||
DrawLineBox: ; 0x12ac7
|
||||
DrawLineBox:
|
||||
ld de, SCREEN_WIDTH ; New line
|
||||
.PrintVerticalLine
|
||||
ld [hl], $78 ; │
|
||||
|
|
@ -335,11 +335,11 @@ StatusScreen2:
|
|||
ld c, a
|
||||
ld a, "-"
|
||||
call StatusScreen_PrintPP ; Fill the rest with --
|
||||
.InitPP ; 12bbb
|
||||
.InitPP
|
||||
ld hl, wLoadedMonMoves
|
||||
coord de, 14, 10
|
||||
ld b, 0
|
||||
.PrintPP ; 12bc3
|
||||
.PrintPP
|
||||
ld a, [hli]
|
||||
and a
|
||||
jr z, .PPDone
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
OaksAideScript: ; 0x59035
|
||||
OaksAideScript:
|
||||
ld hl, OaksAideHiText
|
||||
call PrintText
|
||||
call YesNoChoice
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ SaveSAVConfirm:
|
|||
ld a,[wCurrentMenuItem]
|
||||
ret
|
||||
|
||||
WouldYouLikeToSaveText: ; 0x7377d
|
||||
WouldYouLikeToSaveText:
|
||||
TX_FAR _WouldYouLikeToSaveText
|
||||
db "@"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue