shithub: pokecrystal

Download patch

ref: 1f172badc42935bb510b03fa56e61707489e7c9b
parent: 0d48d829d407524fa4edd45cc012f4e7d935e9b4
author: mid-kid <esteve.varela@gmail.com>
date: Wed Aug 21 10:43:21 EDT 2019

Misc fixes

--- a/constants/engine_flags.asm
+++ b/constants/engine_flags.asm
@@ -1,4 +1,4 @@
-; EngineFlags indexes (see engine/engine_flags.asm)
+; EngineFlags indexes (see data/engine_flags.asm)
 	const_def
 ; wPokegearFlags
 	const ENGINE_RADIO_CARD
@@ -64,7 +64,7 @@
 	const ENGINE_UNLOCKED_UNOWNS_UNUSED_7
 ; wVisitedSpawns
 	const ENGINE_FLYPOINT_PLAYERS_HOUSE
-	const ENGINE_FLYPOINT_VIRIDIAN_POKECENTER
+	const ENGINE_FLYPOINT_DEBUG
 	const ENGINE_FLYPOINT_PALLET
 	const ENGINE_FLYPOINT_VIRIDIAN
 	const ENGINE_FLYPOINT_PEWTER
--- a/engine/events/shuckle.asm
+++ b/engine/events/shuckle.asm
@@ -2,7 +2,7 @@
 
 GiveShuckle:
 ; Adding to the party.
-	xor a
+	xor a ; PARTYMON
 	ld [wMonType], a
 
 ; Level 15 Shuckle.
--- a/engine/overworld/map_objects.asm
+++ b/engine/overworld/map_objects.asm
@@ -430,7 +430,7 @@
 	ret
 
 .ok
-	ld a, SPRITEMOVEFN_STANDING
+	ld a, SPRITEMOVEDATA_STANDING_DOWN
 	ret
 
 ClearObjectMovementByteIndex:
@@ -2466,7 +2466,7 @@
 	jr ContinueSpawnFacing
 
 SpawnInFacingDown:
-	ld a, 0
+	ld a, DOWN
 ContinueSpawnFacing:
 	ld bc, wPlayerStruct
 	call SetSpriteDirection