Skip to content

Document Battle Castle script commands - #1252

Open
VicSevenT wants to merge 1 commit into
pret:mainfrom
VicSevenT:battle_castle_scrcmds
Open

Document Battle Castle script commands#1252
VicSevenT wants to merge 1 commit into
pret:mainfrom
VicSevenT:battle_castle_scrcmds

Conversation

@VicSevenT

Copy link
Copy Markdown
Contributor

No description provided.

@lhearachel lhearachel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just two polish comments


#include "constdata/const_020F410C.h"

typedef struct {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

polish: Tag the struct

Comment on lines +285 to +292
switch (partyMenu->selectedMonSlot) {
case 7:
return SUBTASK_END_TASK;
case 6:
return SUBTASK_END_TASK;
default:
break;
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

polish: Use PARTY_MENU_SLOT_CANCEL instead of a raw 7 and MAX_PARTY_SIZE instead of a raw 6.

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