’Cause all games were better on the GBC

You are not logged in.

#1 2019-04-26 01:50:18

Registered: 2018-07-26
Post 14/29

(Pokered) Creating an item effect that opens a menu

So I've been messing around for a few days with trying to create an item effect in engine/items/items that when the item is used it opens up a special menu of cheat options. I have a really rough cheat menu already that's programmed to replace the exit option, but it has some minor graphical issues when combined with removing the save option in the safari zone, so I thought it'd be fun to make a literal gameshark item in the game that calls the menu instead. This would also help in making two versions of my hack available, one that gives the player the item, and the other that doesn't.

This is what calls the cheat menu instead of the exit option from engine/menu/start_menu at the end below .displayMenuItem

callab CheatMenu
jp RedisplayStartMenu

My attempts so far are instead put that into a new item effect, which semi work, until i exit the cheat menu and crashes the game. I'm guessing the menu doesn't properly save the screen but I'm not sure how to fix that.

Last edited by NobodySociety (2019-04-26 01:50:42)


Board footer

Powered by FluxBB