shithub: pokecrystal

Download patch

ref: f2785cdb71713f9da8e0119f9c2f36cc17895c45
parent: 8f60de5aba45f3e2ec67c685ae5d9177e2102a9e
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Mon Dec 31 09:25:53 EST 2018

Use battle menu flags

--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -5376,14 +5376,14 @@
 
 .skip_inc
 	ld [wMenuCursorY], a
-	ld a, $1
+	ld a, 1
 	ld [wMenuCursorX], a
 	ld a, [wNumMoves]
 	inc a
 	ld [w2DMenuNumRows], a
-	ld a, $1
+	ld a, 1
 	ld [w2DMenuNumCols], a
-	ld c, $2c
+	ld c, STATICMENU_ENABLE_LEFT_RIGHT | STATICMENU_ENABLE_START | STATICMENU_WRAP
 	ld a, [wMoveSelectionMenuType]
 	dec a
 	ld b, D_DOWN | D_UP | A_BUTTON