Skip to content

Commit

Permalink
check_nick_errors → correct_nick_errors; matches correct_party_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Apr 5, 2018
1 parent 8130688 commit 1e1bbbb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CheckNickErrors:: ; 669f
CorrectNickErrors:: ; 669f
; error-check monster nick before use
; must be a peace offering to gamesharkers

Expand Down
2 changes: 1 addition & 1 deletion engine/pokemon/stats_screen.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion home.asm
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ GetNick:: ; 38a2
call CopyBytes
pop de

callfar CheckNickErrors
callfar CorrectNickErrors

pop bc
pop hl
Expand Down
2 changes: 1 addition & 1 deletion main.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1e1bbbb

Please sign in to comment.