summaryrefslogtreecommitdiff
path: root/engine/battle
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle')
-rwxr-xr-xengine/battle/core.asm65
-rwxr-xr-xengine/battle/end_of_battle.asm17
-rw-r--r--engine/battle/link_battle_versus_text.asm8
-rw-r--r--engine/battle/save_trainer_name.asm36
4 files changed, 65 insertions, 61 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 153a9048..a80da1af 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -2120,12 +2120,12 @@ DisplayBattleMenu:
ld bc, NAME_LENGTH
call CopyData
; the following simulates the keystrokes by drawing menus on screen
- coord hl, 9, 14
+ coord hl, 7, 14
ld [hl], "▶"
ld c, 80
call DelayFrames
ld [hl], " "
- coord hl, 9, 16
+ coord hl, 7, 16
ld [hl], "▶"
ld c, 50
call DelayFrames
@@ -2133,7 +2133,7 @@ DisplayBattleMenu:
ld a, $2 ; select the "ITEM" menu
jp .upperLeftMenuItemWasNotSelected
.oldManName
- db "OLD MAN@"
+ db "GREIS@"
.handleBattleMenuInput
ld a, [wBattleAndStartSavedMenuItem]
ld [wCurrentMenuItem], a
@@ -2150,13 +2150,13 @@ DisplayBattleMenu:
ld a, " "
jr z, .safariLeftColumn
; put cursor in left column for normal battle menu (i.e. when it's not a Safari battle)
- Coorda 15, 14 ; clear upper cursor position in right column
- Coorda 15, 16 ; clear lower cursor position in right column
- ld b, $9 ; top menu item X
+ Coorda 12, 14 ; clear upper cursor position in right column
+ Coorda 12, 16 ; clear lower cursor position in right column
+ ld b, $7 ; top menu item X
jr .leftColumn_WaitForInput
.safariLeftColumn
- Coorda 13, 14
- Coorda 13, 16
+ Coorda 12, 14
+ Coorda 12, 16
coord hl, 7, 14
ld de, wNumSafariBalls
lb bc, 1, 2
@@ -2183,9 +2183,9 @@ DisplayBattleMenu:
ld a, " "
jr z, .safariRightColumn
; put cursor in right column for normal battle menu (i.e. when it's not a Safari battle)
- Coorda 9, 14 ; clear upper cursor position in left column
- Coorda 9, 16 ; clear lower cursor position in left column
- ld b, $f ; top menu item X
+ Coorda 7, 14 ; clear upper cursor position in left column
+ Coorda 7, 16 ; clear lower cursor position in left column
+ ld b, $c ; top menu item X
jr .rightColumn_WaitForInput
.safariRightColumn
Coorda 1, 14 ; clear upper cursor position in left column
@@ -2194,7 +2194,7 @@ DisplayBattleMenu:
ld de, wNumSafariBalls
lb bc, 1, 2
call PrintNumber
- ld b, $d ; top menu item X
+ ld b, $c ; top menu item X
.rightColumn_WaitForInput
ld hl, wTopMenuItemY
ld a, $e
@@ -2326,7 +2326,7 @@ UseBagItem:
ld a, [wcf91]
ld [wd11e], a
call GetItemName
- call CopyStringToCF4B ; copy name
+ call CopyStringToCF50 ; copy name
xor a
ld [wPseudoItemID], a
call UseItem
@@ -2765,7 +2765,8 @@ MoveDisabledText:
db "@"
WhichTechniqueString:
- db "WHICH TECHNIQUE?@"
+ db "Welche attacke?"
+ next " @"
SelectMenuItem_CursorUp:
ld a, [wCurrentMenuItem]
@@ -2966,7 +2967,7 @@ PrintMenuItem:
call PlaceString
coord hl, 7, 11
ld [hl], "/"
- coord hl, 5, 9
+ coord hl, 4, 9
ld [hl], "/"
coord hl, 5, 11
ld de, wcd6d
@@ -2985,10 +2986,10 @@ PrintMenuItem:
jp Delay3
DisabledText:
- db "disabled!@"
+ db "BLOCKIERT@"
TypeText:
- db "TYPE@"
+ db "TYP@"
SelectEnemyMove:
ld a, [wLinkState]
@@ -3631,7 +3632,7 @@ CheckPlayerStatusConditions:
ld a, RAGE
ld [wd11e], a
call GetMoveName
- call CopyStringToCF4B
+ call CopyStringToCF50
xor a
ld [wPlayerMoveEffect], a
ld hl, PlayerCanExecuteMove
@@ -3833,7 +3834,7 @@ PrintMoveName:
ret
_PrintMoveName:
- TX_FAR _CF4BText
+ TX_FAR _CF50Text
TX_ASM
ld hl, ExclamationPointPointerTable
ld a, [wd11e] ; exclamation point num
@@ -5215,7 +5216,7 @@ ReloadMoveData:
call IncrementMovePP
; the follow two function calls are used to reload the move name
call GetMoveName
- call CopyStringToCF4B
+ call CopyStringToCF50
ld a,$01
and a
ret
@@ -5716,7 +5717,7 @@ EnemyCanExecuteChargingMove:
ld [wNameListType], a
call GetName
ld de, wcd6d
- call CopyStringToCF4B
+ call CopyStringToCF50
EnemyCanExecuteMove:
xor a
ld [wMonIsDisobedient], a
@@ -6153,7 +6154,7 @@ CheckEnemyStatusConditions:
ld a, RAGE
ld [wd11e], a
call GetMoveName
- call CopyStringToCF4B
+ call CopyStringToCF50
xor a
ld [wEnemyMoveEffect], a
ld hl, EnemyCanExecuteMove
@@ -6195,7 +6196,7 @@ GetCurrentMove:
ld [wNameListType], a
call GetName
ld de, wcd6d
- jp CopyStringToCF4B
+ jp CopyStringToCF50
LoadEnemyMonData:
ld a, [wLinkState]
@@ -6908,9 +6909,9 @@ InitWildBattle:
ld hl, wEnemyMonNick ; set name to "GHOST"
ld a, "G"
ld [hli], a
- ld a, "H"
+ ld a, "E"
ld [hli], a
- ld a, "O"
+ ld a, "I"
ld [hli], a
ld a, "S"
ld [hli], a
@@ -7953,17 +7954,17 @@ PrintStatText:
jr z, .findStatName_outer
jr .findStatName_inner
.foundStatName
- ld de, wcf4b
+ ld de, wcf50
ld bc, $a
jp CopyData
StatsTextStrings:
- db "ATTACK@"
- db "DEFENSE@"
- db "SPEED@"
- db "SPECIAL@"
- db "ACCURACY@"
- db "EVADE@"
+ db "ANGR@"
+ db "VERT@"
+ db "INIT@"
+ db "SPEZ@"
+ db "GENA@"
+ db "FLU@"
StatModifierRatios:
; first byte is numerator, second byte is denominator
diff --git a/engine/battle/end_of_battle.asm b/engine/battle/end_of_battle.asm
index c77e3b39..190992dc 100755
--- a/engine/battle/end_of_battle.asm
+++ b/engine/battle/end_of_battle.asm
@@ -12,14 +12,17 @@ EndOfBattle:
call ClearScreen
callab DisplayLinkBattleVersusTextBox
ld a, [wBattleResult]
- cp $1
+ cp 1
ld de, YouWinText
- jr c, .placeWinOrLoseString
+ jr c, .unk
ld de, YouLoseText
- jr z, .placeWinOrLoseString
+ jr z, .unk
ld de, DrawText
-.placeWinOrLoseString
+ coord hl, 4, 8
+ jr .placeWinOrLoseString
+.unk
coord hl, 6, 8
+.placeWinOrLoseString
call PlaceString
ld c, 200
call DelayFrames
@@ -75,13 +78,13 @@ EndOfBattle:
ret
YouWinText:
- db "YOU WIN@"
+ db "GEWONNEN@"
YouLoseText:
- db "YOU LOSE@"
+ db "VERLOREN@"
DrawText:
- db " DRAW@"
+ db "UNENTSCHIEDEN@"
PickUpPayDayMoneyText:
TX_FAR _PickUpPayDayMoneyText
diff --git a/engine/battle/link_battle_versus_text.asm b/engine/battle/link_battle_versus_text.asm
index 76559117..9e5f89cb 100644
--- a/engine/battle/link_battle_versus_text.asm
+++ b/engine/battle/link_battle_versus_text.asm
@@ -3,7 +3,7 @@ DisplayLinkBattleVersusTextBox:
call LoadTextBoxTilePatterns
coord hl, 3, 4
ld b, 7
- ld c, 12
+ ld c, 13
call TextBoxBorder
coord hl, 4, 5
ld de, wPlayerName
@@ -13,9 +13,9 @@ DisplayLinkBattleVersusTextBox:
call PlaceString
; place bold "VS" tiles between the names
coord hl, 9, 8
- ld a, $69
- ld [hli], a
- ld [hl], $6a
+ ld a, "V"
+ ldi [hl], a
+ ld [hl], "S"
xor a
ld [wUpdateSpritesEnabled], a
callab SetupPlayerAndEnemyPokeballs
diff --git a/engine/battle/save_trainer_name.asm b/engine/battle/save_trainer_name.asm
index 7e2c911c..50f8f052 100644
--- a/engine/battle/save_trainer_name.asm
+++ b/engine/battle/save_trainer_name.asm
@@ -69,44 +69,44 @@ TrainerNamePointers:
dw wTrainerName
YoungsterName:
- db "YOUNGSTER@"
+ db "TEENAGER@"
BugCatcherName:
- db "BUG CATCHER@"
+ db "KÄFERSAMMLER@"
LassName:
- db "LASS@"
+ db "GÖRE@"
JrTrainerMName:
- db "JR.TRAINER♂@"
+ db "PFADFINDER@"
JrTrainerFName:
- db "JR.TRAINER♀@"
+ db "PFADFINDERIN@"
PokemaniacName:
- db "POKéMANIAC@"
+ db "#MANIAC@"
SuperNerdName:
- db "SUPER NERD@"
+ db "STREBER@"
BurglarName:
- db "BURGLAR@"
+ db "DIEB@"
EngineerName:
- db "ENGINEER@"
+ db "MECHANIKER@"
JugglerXName:
- db "JUGGLER@"
+ db "JONGLEUR@"
SwimmerName:
- db "SWIMMER@"
+ db "SCHWIMMER@"
BeautyName:
- db "BEAUTY@"
+ db "SCHÖNHEIT@"
RockerName:
db "ROCKER@"
JugglerName:
- db "JUGGLER@"
+ db "JONGLEUR@"
BlackbeltName:
- db "BLACKBELT@"
+ db "SCHWARZGURT@"
ProfOakName:
- db "PROF.OAK@"
+ db "PROF.EICH@"
ChiefName:
db "CHIEF@"
ScientistName:
- db "SCIENTIST@"
+ db "FORSCHER@"
RocketName:
db "ROCKET@"
CooltrainerMName:
- db "COOLTRAINER♂@"
+ db "TRAINER@"
CooltrainerFName:
- db "COOLTRAINER♀@"
+ db "TRAINERIN@"