feat(game): implement Hoenn story through Rustboro (#77)

* feat(game): implement Hoenn story through Rustboro

* fix(game): group dialog presentation options

* fix(game): address review feedback and running movement
This commit is contained in:
LananaHWP authored and GitHub committed 2026-08-02 15:09:08 +02:00
1 parent f57149eae3
commit 3b19a81201
85 files changed
+4064 -358

No files matched your search

@@ -0,0 +1,10 @@
package de.fiereu.openmmo.common.enums
enum class CharacterGender(val wireValue: Byte) {
MALE(0),
FEMALE(1);
companion object {
fun byWireValue(wireValue: Byte): CharacterGender? = entries.find { it.wireValue == wireValue }
}
}
@@ -1,10 +1,12 @@
package de.fiereu.openmmo.common.enums
enum class Region(val id: Int) {
enum class Region(val wireValue: Byte) {
KANTO(0),
HOENN(1);
companion object {
fun byId(id: Int): Region? = entries.find { it.id == id }
fun byId(id: Int): Region? = entries.find { it.wireValue.toInt() == id }
fun byWireValue(wireValue: Byte): Region? = entries.find { it.wireValue == wireValue }
}
}
@@ -8,4 +8,8 @@ enum class TileBehavior {
NORMAL,
TALL_GRASS,
LONG_GRASS,
JUMP_EAST,
JUMP_WEST,
JUMP_NORTH,
JUMP_SOUTH,
}