From 17f45b5c95b7ec33bd28d7ab1e8869e287ea4dbc Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Mon, 25 Dec 2017 15:46:24 -0500 Subject: [PATCH] MAX_LEVEL = 255 should still compile --- engine/experience.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/experience.asm b/engine/experience.asm index c2c030e4c..b1e1fb831 100644 --- a/engine/experience.asm +++ b/engine/experience.asm @@ -6,7 +6,7 @@ CalcLevel: ; 50e1b .next_level inc d ld a, d - cp MAX_LEVEL + 1 + cp LOW(MAX_LEVEL + 1) jr z, .got_level call CalcExpAtLevel push hl