ref: 17f45b5c95b7ec33bd28d7ab1e8869e287ea4dbc
parent: 7dd6c8c3b2ed96a2a1f3f148b7d38f683226948f
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Mon Dec 25 10:46:24 EST 2017
MAX_LEVEL = 255 should still compile
--- a/engine/experience.asm
+++ b/engine/experience.asm
@@ -6,7 +6,7 @@
.next_level
inc d
ld a, d
- cp MAX_LEVEL + 1
+ cp LOW(MAX_LEVEL + 1)
jr z, .got_level
call CalcExpAtLevel
push hl