This guide solves a specific problem: you have a classic GameMaker-era game and want to run it on an Android phone without rewriting it from scratch. The approach shown here is based on a real case — the unofficial Android port of Pokemon Reloaded, published in the GitHub repository `Klisee/pokemon-reloaded-android`. The port runs on OpenGMK, an open-source engine compatible with games made in GameMaker (a popular 2D game engine whose projects ship as `.gmk`/`.exe` files). The guide applies to Android devices and to any GameMaker-compatible game for which a similar port approach is used. All project code and sources are publicly available for study and building.

Checklist before you start:

1. **Study the project page.** Open the repository `Klisee/pokemon-reloaded-android` on GitHub. The project description reads «Port no oficial de Pokemon Reloaded a Android, sobre OpenGMK» — an unofficial port of Pokemon Reloaded to Android, built on OpenGMK. Expected result: you understand that this is a community port, not an official release, and that OpenGMK is the runtime engine. This matters because unofficial ports may lack polish, and knowing the engine helps you search for solutions.
2. **Clone the sources.** Download the code to your machine so you can inspect and build it. The authors explicitly made code and sources available for study and building.
**Пример:**
git clone https://github.com/Klisee/pokemon-reloaded-android.git
cd pokemon-reloaded-android
ls
Expected result: a local folder with the project files, and `ls` shows the repository contents (build files, sources, README). This works because Git copies the full history and files, giving you everything needed for a local build.
3. **Understand the architecture.** OpenGMK is an open-source engine compatible with GameMaker games: it re-implements the GameMaker runtime so old games can run on new platforms, including Android. Read the README and source layout to see how the game logic and assets are wired into the Android build. Expected result: you can name which parts are engine (OpenGMK) and which are game-specific (Pokemon Reloaded assets and scripts). Why this works: separating engine from content tells you exactly what to touch if something breaks.
4. **Build the Android package.** Follow the build instructions in the repository to produce an installable Android package from the sources. Since the port is published as a source project, building from code is the intended path.
**Пример:** after building, you should get an installable Android package file in the build output directory — for example, a file like `app-debug.apk` in a typical Android project's `build/outputs/apk/` folder (check the repo's README for the exact path and command). Expected result: an APK file exists on disk. This works because the Android build toolchain compiles the OpenGMK runtime plus the game content into a single installable package.
5. **Install and test on a device.** Enable installation from unknown sources on your Android device, transfer the built package, and install it. Expected result: the game launches and the title screen of Pokemon Reloaded appears. Why this works: the APK contains the OpenGMK runtime, which interprets the GameMaker-compatible game data at runtime.
6. **Adapt the approach to other games.** If you want to port a different classic GameMaker game, use this repository as a template: fork it, replace the game content with your target game's data, and rebuild. For automating repetitive code changes during such a port, AI agents can help — see AI agents for task automation: a guide. Expected result: a working build of your target game on Android. This works because the engine layer (OpenGMK) stays the same; only the game content changes.

Is the Pokemon Reloaded Android port official?
No. It is an unofficial port, as stated in the project description («Port no oficial de Pokemon Reloaded a Android, sobre OpenGMK»), published by a community author on GitHub.
What is OpenGMK?
OpenGMK is an open-source engine compatible with games made in GameMaker. It allows classic GameMaker games to run on platforms like Android without a full rewrite.
Where can I get the code?
The code and sources are available in the GitHub repository `Klisee/pokemon-reloaded-android`, published for study and building.
Can I use this method for other classic games?
The approach — running a GameMaker-compatible game on OpenGMK and building for Android — is demonstrated by this port; adapting it to another GameMaker game means replacing the game content and rebuilding, using the repository as a reference.