ellabrella
PKMN Trainer
- 57
- Posts
- 6
- Years
- She/It
- Seen Feb 27, 2025
hi all, i'm trying to make a sort of character creation menu for my hack. it's basically a copy-paste of the option menu code except it sets name and gender instead. i'm trying to use CreateTrainerSprite to display an image of the player character, but nothing shows up when it's supposed to be called.
if i copy the exact CreateTrainerSprite line to main_menu.c, it displays the sprite exactly as it should. however, if i copy it to option_menu.c (along with the relevant includes) instead, it doesn't display anything. so my thought is that i have to enable something to allow sprites to show up, or something?
i've compared the main menu init function to my new game menu init function and tried a bunch of things, but haven't made any progress, and i feel a bit out of my depth editing them anyway.
if anyone knows what the problem might be, i'd be very grateful!
also, here's a pastebin for my new_game_menu.c if it helps: https://pastebin.com/GAP7UQjQ
if i copy the exact CreateTrainerSprite line to main_menu.c, it displays the sprite exactly as it should. however, if i copy it to option_menu.c (along with the relevant includes) instead, it doesn't display anything. so my thought is that i have to enable something to allow sprites to show up, or something?
i've compared the main menu init function to my new game menu init function and tried a bunch of things, but haven't made any progress, and i feel a bit out of my depth editing them anyway.
if anyone knows what the problem might be, i'd be very grateful!
also, here's a pastebin for my new_game_menu.c if it helps: https://pastebin.com/GAP7UQjQ