summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-04-05 00:04:53 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-04-05 00:04:53 -0400
commit1e1bbbbf8c82364dcfb8e64ad22c4ce3e9988c75 (patch)
treec702e3917e61be7e58ef02b98c07a6dd0e6732fb
parent81306889e33c599f8015bc4e653929bb7de00967 (diff)
check_nick_errors → correct_nick_errors; matches correct_party_errors
-rw-r--r--engine/pokemon/correct_nick_errors.asm (renamed from engine/pokemon/check_nick_errors.asm)2
-rw-r--r--engine/pokemon/stats_screen.asm2
-rw-r--r--home.asm2
-rw-r--r--main.asm2
4 files changed, 4 insertions, 4 deletions
diff --git a/engine/pokemon/check_nick_errors.asm b/engine/pokemon/correct_nick_errors.asm
index 87ebd6bb3..5d44846bf 100644
--- a/engine/pokemon/check_nick_errors.asm
+++ b/engine/pokemon/correct_nick_errors.asm
@@ -1,4 +1,4 @@
-CheckNickErrors:: ; 669f
+CorrectNickErrors:: ; 669f
; error-check monster nick before use
; must be a peace offering to gamesharkers
diff --git a/engine/pokemon/stats_screen.asm b/engine/pokemon/stats_screen.asm
index 59d96999f..7e44cb96e 100644
--- a/engine/pokemon/stats_screen.asm
+++ b/engine/pokemon/stats_screen.asm
@@ -772,7 +772,7 @@ StatsScreen_LoadGFX: ; 4dfb6 (13:5fb6)
ld hl, .OTNamePointers
call GetNicknamePointer
call CopyNickname
- farcall CheckNickErrors
+ farcall CorrectNickErrors
hlcoord 2, 13
call PlaceString
ld a, [wTempMonCaughtGender]
diff --git a/home.asm b/home.asm
index fe44e3d31..75b5bf283 100644
--- a/home.asm
+++ b/home.asm
@@ -1211,7 +1211,7 @@ GetNick:: ; 38a2
call CopyBytes
pop de
- callfar CheckNickErrors
+ callfar CorrectNickErrors
pop bc
pop hl
diff --git a/main.asm b/main.asm
index fac1b8f3f..93a530079 100644
--- a/main.asm
+++ b/main.asm
@@ -9,7 +9,7 @@ INCLUDE "engine/overworld/map_objects.asm"
INCLUDE "engine/menus/intro_menu.asm"
INCLUDE "engine/overworld/init_map.asm"
INCLUDE "engine/pokemon/learn.asm"
-INCLUDE "engine/pokemon/check_nick_errors.asm"
+INCLUDE "engine/pokemon/correct_nick_errors.asm"
INCLUDE "engine/math/math.asm"
INCLUDE "data/items/attributes.asm"
INCLUDE "engine/overworld/npc_movement.asm"