mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
TX_ASM
This commit is contained in:
parent
80621d3731
commit
8431fa7756
155 changed files with 595 additions and 591 deletions
|
|
@ -139,22 +139,22 @@ PrintSendOutMonMessage: ; 58e59 (16:4e59)
|
|||
|
||||
GoText: ; 58eae (16:4eae)
|
||||
TX_FAR _GoText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
jr PrintPlayerMon1Text
|
||||
|
||||
DoItText: ; 58eb5 (16:4eb5)
|
||||
TX_FAR _DoItText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
jr PrintPlayerMon1Text
|
||||
|
||||
GetmText: ; 58ebc (16:4ebc)
|
||||
TX_FAR _GetmText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
jr PrintPlayerMon1Text
|
||||
|
||||
EnemysWeakText: ; 58ec3 (16:4ec3)
|
||||
TX_FAR _EnemysWeakText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
|
||||
PrintPlayerMon1Text:
|
||||
ld hl, PlayerMon1Text
|
||||
|
|
@ -170,7 +170,7 @@ RetreatMon: ; 58ed1 (16:4ed1)
|
|||
|
||||
PlayerMon2Text: ; 58ed7 (16:4ed7)
|
||||
TX_FAR _PlayerMon2Text
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
push de
|
||||
push bc
|
||||
ld hl, wEnemyMonHP + 1
|
||||
|
|
@ -216,17 +216,17 @@ PlayerMon2Text: ; 58ed7 (16:4ed7)
|
|||
|
||||
EnoughText: ; 58f25 (16:4f25)
|
||||
TX_FAR _EnoughText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
jr PrintComeBackText
|
||||
|
||||
OKExclamationText: ; 58f2c (16:4f2c)
|
||||
TX_FAR _OKExclamationText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
jr PrintComeBackText
|
||||
|
||||
GoodText: ; 58f33 (16:4f33)
|
||||
TX_FAR _GoodText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
jr PrintComeBackText
|
||||
|
||||
PrintComeBackText: ; 58f3a (16:4f3a)
|
||||
|
|
|
|||
|
|
@ -3773,7 +3773,7 @@ PrintMonName1Text: ; 3daf5 (f:5af5)
|
|||
; but the functionality didn't get removed
|
||||
MonName1Text: ; 3dafb (f:5afb)
|
||||
TX_FAR _MonName1Text
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld a, [H_WHOSETURN]
|
||||
and a
|
||||
ld a, [W_PLAYERMOVENUM]
|
||||
|
|
@ -3798,12 +3798,12 @@ MonName1Text: ; 3dafb (f:5afb)
|
|||
|
||||
Used1Text: ; 3db2d (f:5b2d)
|
||||
TX_FAR _Used1Text
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
jr PrintInsteadText
|
||||
|
||||
Used2Text: ; 3db34 (f:5b34)
|
||||
TX_FAR _Used2Text
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
; fall through
|
||||
|
||||
PrintInsteadText: ; 3db39 (f:5b39)
|
||||
|
|
@ -3815,7 +3815,7 @@ PrintInsteadText: ; 3db39 (f:5b39)
|
|||
|
||||
InsteadText: ; 3db43 (f:5b43)
|
||||
TX_FAR _InsteadText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
; fall through
|
||||
|
||||
PrintMoveName: ; 3db48 (f:5b48)
|
||||
|
|
@ -3824,7 +3824,7 @@ PrintMoveName: ; 3db48 (f:5b48)
|
|||
|
||||
_PrintMoveName: ; 3db4c (f:5b4c)
|
||||
TX_FAR _CF4BText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld hl, ExclamationPointPointerTable
|
||||
ld a, [wd11e] ; exclamation point num
|
||||
add a
|
||||
|
|
@ -7710,7 +7710,7 @@ PrintNothingHappenedText: ; 3f522 (f:7522)
|
|||
|
||||
MonsStatsRoseText: ; 3f528 (f:7528)
|
||||
TX_FAR _MonsStatsRoseText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld hl, GreatlyRoseText
|
||||
ld a, [H_WHOSETURN]
|
||||
and a
|
||||
|
|
@ -7912,7 +7912,7 @@ MoveMissed: ; 3f65a (f:765a)
|
|||
|
||||
MonsStatsFellText: ; 3f661 (f:7661)
|
||||
TX_FAR _MonsStatsFellText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld hl, FellText
|
||||
ld a, [H_WHOSETURN]
|
||||
and a
|
||||
|
|
@ -8246,7 +8246,7 @@ ChargeEffect: ; 3f88c (f:788c)
|
|||
|
||||
ChargeMoveEffectText: ; 3f8c8 (f:78c8)
|
||||
TX_FAR _ChargeMoveEffectText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld a, [wWhichTrade]
|
||||
cp RAZOR_WIND
|
||||
ld hl, MadeWhirlwindText
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ BoostExp: ; 5549f (15:549f)
|
|||
|
||||
GainedText: ; 554b2 (15:54b2)
|
||||
TX_FAR _GainedText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld a, [wBoostExpByExpAll]
|
||||
ld hl, WithExpAllText
|
||||
and a
|
||||
|
|
@ -355,7 +355,7 @@ GainedText: ; 554b2 (15:54b2)
|
|||
|
||||
WithExpAllText: ; 554cb (15:54cb)
|
||||
TX_FAR _WithExpAllText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld hl, ExpPointsText
|
||||
ret
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ TMNotebook: ; 529a4 (14:69a4)
|
|||
db "@"
|
||||
|
||||
ViridianSchoolNotebook: ; 529aa (14:69aa)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld hl, ViridianSchoolNotebookText1
|
||||
call PrintText
|
||||
call TurnPageSchoolNotebook
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ PrintBlackboardLinkCableText: ; 5dc1a (17:5c1a)
|
|||
ret
|
||||
|
||||
LinkCableHelp: ; 5dc29 (17:5c29)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
call SaveScreenTilesToBuffer1
|
||||
ld hl, LinkCableHelpText1
|
||||
call PrintText
|
||||
|
|
@ -179,7 +179,7 @@ LinkCableInfoText3: ; 5dce8 (17:5ce8)
|
|||
db "@"
|
||||
|
||||
ViridianSchoolBlackboard: ; 5dced (17:5ced)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
call SaveScreenTilesToBuffer1
|
||||
ld hl, ViridianSchoolBlackboardText1
|
||||
call PrintText
|
||||
|
|
@ -428,7 +428,7 @@ GymTrashCans: ; 5de7d (17:5e7d)
|
|||
|
||||
VermilionGymTrashSuccesText1: ; 5dec8 (17:5ec8)
|
||||
TX_FAR _VermilionGymTrashSuccesText1
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
call WaitForSoundToFinish
|
||||
ld a, (SFX_02_49 - SFX_Headers_02) / 3
|
||||
call PlaySound
|
||||
|
|
@ -442,7 +442,7 @@ VermilionGymTrashSuccesText2: ; 5dedb (17:5edb)
|
|||
|
||||
; unused
|
||||
VermilionGymTrashSuccesPlaySfx: ; 5dee0 (17:5ee0)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
call WaitForSoundToFinish
|
||||
ld a, (SFX_02_49 - SFX_Headers_02) / 3
|
||||
call PlaySound
|
||||
|
|
@ -451,7 +451,7 @@ VermilionGymTrashSuccesPlaySfx: ; 5dee0 (17:5ee0)
|
|||
|
||||
VermilionGymTrashSuccesText3: ; 5deef (17:5eef)
|
||||
TX_FAR _VermilionGymTrashSuccesText3
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
call WaitForSoundToFinish
|
||||
ld a, (SFX_02_57 - SFX_Headers_02) / 3
|
||||
call PlaySound
|
||||
|
|
@ -460,7 +460,7 @@ VermilionGymTrashSuccesText3: ; 5deef (17:5eef)
|
|||
|
||||
VermilionGymTrashFailText: ; 5df02 (17:5f02)
|
||||
TX_FAR _VermilionGymTrashFailText
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
call WaitForSoundToFinish
|
||||
ld a, (SFX_02_51 - SFX_Headers_02) / 3
|
||||
call PlaySound
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ CinnabarIslandPokecenterBenchGuyText: ; 624df (18:64df)
|
|||
db "@"
|
||||
|
||||
SaffronCityPokecenterBenchGuyText: ; 624e4 (18:64e4)
|
||||
db $8 ; asm
|
||||
TX_ASM
|
||||
ld a, [wd838]
|
||||
bit 7, a
|
||||
ld hl, SaffronCityPokecenterBenchGuyText2
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ BookshelfTileIDs: ; fb8b (3:7b8b)
|
|||
db $FF
|
||||
|
||||
IndigoPlateauStatues: ; fbbf (3:7bbf)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld hl, IndigoPlateauStatuesText1
|
||||
call PrintText
|
||||
ld a, [W_XCOORD]
|
||||
|
|
@ -85,7 +85,7 @@ IndigoPlateauStatuesText3: ; fbe3 (3:7be3)
|
|||
db "@"
|
||||
|
||||
BookOrSculptureText: ; fbe8 (3:7be8)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld hl, PokemonBooksText
|
||||
ld a, [W_CURMAPTILESET]
|
||||
cp MANSION ; Celadon Mansion tileset
|
||||
|
|
@ -113,7 +113,7 @@ ElevatorText: ; fc0d (3:7c0d)
|
|||
TownMapText: ; fc12 (3:7c12)
|
||||
TX_FAR _TownMapText
|
||||
db $06
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld a, $1
|
||||
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
||||
ld hl, wd730
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ PrintSafariGameOverText: ; 1e9ed (7:69ed)
|
|||
jp PrintText
|
||||
|
||||
SafariGameOverText: ; 1e9f7 (7:69f7)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld a, [W_NUMSAFARIBALLS]
|
||||
and a
|
||||
jr z, .asm_1ea04
|
||||
|
|
@ -127,7 +127,7 @@ PrintCinnabarQuiz: ; 1ea17 (7:6a17)
|
|||
jp PrintPredefTextID
|
||||
|
||||
CinnabarGymQuiz: ; 1ea25 (7:6a25)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
xor a
|
||||
ld [wda38], a
|
||||
ld a, [wWhichTrade]
|
||||
|
|
@ -375,7 +375,7 @@ BillsHouseMonitorText: ; 1ebdd (7:6bdd)
|
|||
BillsHouseInitiatedText: ; 1ebe2 (7:6be2)
|
||||
TX_FAR _BillsHouseInitiatedText
|
||||
db $06
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
ld a, $ff
|
||||
ld [wc0ee], a
|
||||
call PlaySound
|
||||
|
|
@ -389,7 +389,7 @@ BillsHouseInitiatedText: ; 1ebe2 (7:6be2)
|
|||
jp TextScriptEnd
|
||||
|
||||
BillsHousePokemonList: ; 1ec05 (7:6c05)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
call SaveScreenTilesToBuffer1
|
||||
ld hl, BillsHousePokemonListText1
|
||||
call PrintText
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ TryingToLearnText: ; 6fc3 (1:6fc3)
|
|||
OneTwoAndText: ; 6fc8 (1:6fc8)
|
||||
TX_FAR _OneTwoAndText
|
||||
db $a
|
||||
db $8
|
||||
TX_ASM
|
||||
ld a, (SFX_02_58 - SFX_Headers_02) / 3
|
||||
call PlaySoundWaitForCurrent
|
||||
ld hl, PoofText
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ INCLUDE "data/hidden_item_coords.asm"
|
|||
|
||||
FoundHiddenItemText: ; 7675b (1d:675b)
|
||||
TX_FAR _FoundHiddenItemText
|
||||
db $8
|
||||
TX_ASM
|
||||
ld a, [wWhichTrade] ; item ID
|
||||
ld b, a
|
||||
ld c, 1
|
||||
|
|
|
|||
|
|
@ -456,7 +456,7 @@ SlotMachine_37588: ; 37588 (d:7588)
|
|||
jp .loop
|
||||
|
||||
SlotsMachineText_37665: ; 37665 (d:7665)
|
||||
db $08 ; asm
|
||||
TX_ASM
|
||||
push bc
|
||||
call SlotMachine_37728
|
||||
ld hl, LinedUpText
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue