Skip to content
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

Literally two functions #176

Merged
merged 2 commits into from
Jun 28, 2023
Merged

Literally two functions #176

merged 2 commits into from
Jun 28, 2023

Conversation

adrienntindall
Copy link
Collaborator

this was hell

Yes I know that's the mtg term I dont remember what pokemon calls it
case 1:
case 2:
case 3:
script = 271;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these be consts? unsure if we have a naix for it already or not

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to look for one but couldn't find it. Lhea seems to know what the consts are but I'm unsure if pret has ported those yet

src/battle/overlay_12_0224E4FC.c Show resolved Hide resolved
} else {
ctx->statChangeParam = 0xF;
}
ctx->statChangeType = 3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above for these types

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the types are like "Special attack up" but not sure

switch (power) {
case 1:
switch (ctx->unk_334.moveData[moveNo].effect) {
case 38: //OHKO?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

constants?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm only sure about the OHKO one, gonna wait till I can get more info about move effects before documenting these

@red031000 red031000 merged commit 421f1a1 into pret:master Jun 28, 2023
github-actions bot pushed a commit that referenced this pull request Jun 28, 2023
github-actions bot pushed a commit to red031000/pokeheartgold that referenced this pull request Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants