- 669
- Posts
- 7
- Years
- He/Him
- Michigan
- Seen Apr 25, 2025
So I am new to the Decomp game and have been looking around for simple modifications and couldn't find any posts containing a method for making HMs able to be deleted. I was able to figure out a way to do it and thought I should post it for my fellow noobs :)
In the src\pokemon_summary_screen.c file, there's this block of code:
If you change that FALSE at the end to TRUE, if I understand it correctly, is basically making the game treat all moves as deleteable by removing the ability of the game to label any move as un-deleteable. I haven't fully tested this yet but so far it seems to work right!
In the src\pokemon_summary_screen.c file, there's this block of code:
Spoiler:
static bool8 CanReplaceMove(void)
{
if (sMonSummaryScreen->firstMoveIndex == MAX_MON_MOVES
|| sMonSummaryScreen->newMove == MOVE_NONE
|| IsMoveHm(sMonSummaryScreen->summary.moves[sMonSummaryScreen->firstMoveIndex]) != TRUE)
return TRUE;
else
return FALSE;
{
if (sMonSummaryScreen->firstMoveIndex == MAX_MON_MOVES
|| sMonSummaryScreen->newMove == MOVE_NONE
|| IsMoveHm(sMonSummaryScreen->summary.moves[sMonSummaryScreen->firstMoveIndex]) != TRUE)
return TRUE;
else
return FALSE;
If you change that FALSE at the end to TRUE, if I understand it correctly, is basically making the game treat all moves as deleteable by removing the ability of the game to label any move as un-deleteable. I haven't fully tested this yet but so far it seems to work right!
Last edited: