-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nov 2024 #258
Nov 2024 #258
Conversation
67472b9
to
fd5b728
Compare
|
@@ -306,7 +306,8 @@ bool8 YawnMoveAction(Entity * pokemon, Entity *target, Move *move, s32 param_4) | |||
return TRUE; | |||
} | |||
|
|||
bool8 sub_80576F8(Entity * pokemon, Entity *target, Move *move, s32 param_4) | |||
// NOTE: Is there a better name for this? | |||
bool8 BasicSleepMoveAction(Entity * pokemon, Entity *target, Move *move, s32 param_4) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the "Basic" isn't needed. SleepMoveAction
by itself conveys the same meaning of being a shared move action between similar sleep moves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is referring to rest etc, then Sleep is fine. If it's referring to forcing sleep (like hypnosis), then I suggest "CastSleep".
Same for "CastFreeze" and "CastBurn" etc if that's the situation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't "force" the status conditions. It still has to roll the chance for a status condition. For example,
bool8 BasicFireMoveAction(Entity *pokemon, Entity *target, Move *move, u32 param_4)
{
bool8 flag;
flag = FALSE;
SendThawedMessage(pokemon, target);
if (HandleDamagingMove(pokemon,target,move,0x100,param_4) != 0) {
flag = TRUE;
if(sub_805727C(pokemon, target, gUnknown_80F4DBA))
{
BurnedStatusTarget(pokemon, target, 0, FALSE);
}
}
return flag;
}
Some merge conflicts were introduced with #256 merging. |
f4aabda
to
448ecf9
Compare
448ecf9
to
42df3f8
Compare
@SethBarberee FYI, there are some unresolved comments here that I'm waiting on before approving. |
Was on vacation and just got back. Will try to address them in next day or two. |
42df3f8
to
797ca93
Compare
The great renaming of move/orb actions that haven't been documented yet. Still a few more orb funcs in 807CD9C that I would like to finish before marking this PR ready.