shithub: pokecrystal

Download patch

ref: 1d96a79a370e7fab5bf517ca1f2fd0fa90acbcac
parent: b5a9e83a94f54c43fedca004fbd7223d6f144fc0
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Jul 29 12:04:38 EDT 2018

No wCurMove alias for wCurSpecies

--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -3583,7 +3583,7 @@
 
 	ld a, BATTLE_VARS_MOVE
 	call GetBattleVar
-	ld [wCurMove], a
+	ld [wCurSpecies], a
 	ld [wNamedObjectIndexBuffer], a
 
 	dec a
--- a/engine/events/move_deleter.asm
+++ b/engine/events/move_deleter.asm
@@ -27,7 +27,7 @@
 	jr c, .declined
 	ld a, [wMenuCursorY]
 	push af
-	ld a, [wCurMove]
+	ld a, [wCurSpecies]
 	ld [wNamedObjectIndexBuffer], a
 	call GetMoveName
 	ld hl, .ConfirmDeleteText
--- a/engine/menus/start_menu.asm
+++ b/engine/menus/start_menu.asm
@@ -1724,7 +1724,7 @@
 	ld b, $0
 	add hl, bc
 	ld a, [hl]
-	ld [wCurMove], a
+	ld [wCurSpecies], a
 	hlcoord 1, 12
 	lb bc, 5, 18
 	jp ClearBox
@@ -1741,11 +1741,11 @@
 	hlcoord 12, 12
 	ld de, String_MoveAtk
 	call PlaceString
-	ld a, [wCurMove]
+	ld a, [wCurSpecies]
 	ld b, a
 	hlcoord 2, 12
 	predef PrintMoveType
-	ld a, [wCurMove]
+	ld a, [wCurSpecies]
 	dec a
 	ld hl, Moves + MOVE_POWER
 	ld bc, MOVE_LENGTH
--- a/wram.asm
+++ b/wram.asm
@@ -1320,9 +1320,7 @@
 
 wMonType:: db ; cf5f
 
-wCurSpecies::
-wCurMove::
-	db ; cf60
+wCurSpecies:: db ; cf60
 
 wNamedObjectTypeBuffer:: db