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

Merge #81

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
uses: cargo-bins/cargo-binstall@main
- name: Install pigment64
run: cargo binstall pigment64 -y
- name: Install crunch64-cli
run: cargo binstall crunch64-cli -y
- name: Setup Flips
run: |
curl -L https://dl.smwcentral.net/11474/floating.zip -o floating.zip
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ build/
*.backup
*.crash

/tools/Yay0compress
/tools/n64crc
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@
"-l 120"
],
"search.useIgnoreFiles": false,
"nixEnvSelector.nixFile": "${workspaceFolder}/shell.nix",
"workbench.editor.labelFormat": "short",
}
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipeline {
sh 'curl -L "https://github.com/decompals/mips-gcc-egcs-2.91.66/releases/latest/download/mips-gcc-egcs-2.91.66-linux.tar.gz" | tar zx -C tools/build/cc/egcs'
sh 'pip install -U -r requirements.txt'
sh 'cargo install pigment64'
sh 'cargo install crunch64-cli'
sh './configure'
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/battle/actors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1730,8 +1730,8 @@
shadowOffset: 0
- BlackNinjakoopa:
level: 17
nameMsg: MSG_EnemyName_BlueNinjakoopa
tattleMsg: MSG_EnemyTattle_BlueNinjakoopa
nameMsg: MSG_EnemyName_BlackNinjakoopa
tattleMsg: MSG_EnemyTattle_BlackNinjakoopa
walkSound: [ SOUND_ACTOR_STEP_A, SOUND_ACTOR_STEP_B ]
flySound: [ SOUND_NONE, SOUND_NONE ]
jumpSound: SOUND_ACTOR_JUMP
Expand Down
6 changes: 3 additions & 3 deletions src/battle/partner/sushie.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ EvtScript N(bellyFlop) = {
Else
Call(GetMenuSelection, LVar0, LVar1, LVar2)
Switch(LVar2)
CaseEq(167)
CaseEq(MOVE_BELLY_FLOP1)
Wait(13)
Call(SetActorScale, ACTOR_PARTNER, Float(1.0), Float(1.0), Float(1.0))
Wait(1)
Expand All @@ -829,7 +829,7 @@ EvtScript N(bellyFlop) = {
Call(SetActorScale, ACTOR_PARTNER, Float(1.0), Float(1.0), Float(1.0))
Wait(1)
Call(SetActorScale, ACTOR_PARTNER, Float(1.0), Float(1.0), Float(1.0))
CaseEq(168)
CaseEq(MOVE_BELLY_FLOP2)
Wait(13)
Call(SetActorScale, ACTOR_PARTNER, Float(1.05), Float(1.05), Float(1.0))
Wait(1)
Expand All @@ -840,7 +840,7 @@ EvtScript N(bellyFlop) = {
Call(SetActorScale, ACTOR_PARTNER, Float(1.2), Float(1.2), Float(1.0))
Wait(1)
Call(SetActorScale, ACTOR_PARTNER, Float(1.25), Float(1.25), Float(1.0))
CaseEq(169)
CaseEq(MOVE_BELLY_FLOP3)
Wait(13)
Call(SetActorScale, ACTOR_PARTNER, Float(1.1), Float(1.1), Float(1.0))
Wait(1)
Expand Down
12 changes: 6 additions & 6 deletions src/pause/pause_tabs.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ void pause_tabs_draw_stats(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32
hud_element_set_render_pos(gPauseTabsIconIDs[0], baseX + 22, baseY + 7);
hud_element_draw_without_clipping(gPauseTabsIconIDs[0]);
if (gPauseMenuCurrentTab == 0) {
if (gPauseTabsWindowIDs[menu->col] == 25) {
if (gPauseTabsWindowIDs[menu->col] == WIN_PAUSE_TAB_STATS) {
pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6);
}
}
Expand All @@ -231,7 +231,7 @@ void pause_tabs_draw_badges(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s3
hud_element_set_render_pos(gPauseTabsIconIDs[1], baseX + 22, baseY + 7);
hud_element_draw_without_clipping(gPauseTabsIconIDs[1]);
if (gPauseMenuCurrentTab == 0) {
if (gPauseTabsWindowIDs[menu->col] == 26) {
if (gPauseTabsWindowIDs[menu->col] == WIN_PAUSE_TAB_BADGES) {
pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6);
}
}
Expand All @@ -249,7 +249,7 @@ void pause_tabs_draw_items(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32
hud_element_set_render_pos(gPauseTabsIconIDs[2], baseX + 22, baseY + 7);
hud_element_draw_without_clipping(gPauseTabsIconIDs[2]);
if (gPauseMenuCurrentTab == 0) {
if (gPauseTabsWindowIDs[menu->col] == 27) {
if (gPauseTabsWindowIDs[menu->col] == WIN_PAUSE_TAB_ITEMS) {
pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6);
}
}
Expand All @@ -267,7 +267,7 @@ void pause_tabs_draw_party(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32
hud_element_set_render_pos(gPauseTabsIconIDs[3], baseX + 22, baseY + 7);
hud_element_draw_without_clipping(gPauseTabsIconIDs[3]);
if (gPauseMenuCurrentTab == 0) {
if (gPauseTabsWindowIDs[menu->col] == 28) {
if (gPauseTabsWindowIDs[menu->col] == WIN_PAUSE_TAB_PARTY) {
pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6);
}
}
Expand All @@ -285,7 +285,7 @@ void pause_tabs_draw_spirits(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s
hud_element_set_render_pos(gPauseTabsIconIDs[4], baseX + 22, baseY + 7);
hud_element_draw_without_clipping(gPauseTabsIconIDs[4]);
if (gPauseMenuCurrentTab == 0) {
if (gPauseTabsWindowIDs[menu->col] == 29) {
if (gPauseTabsWindowIDs[menu->col] == WIN_PAUSE_TAB_SPIRITS) {
pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6);
}
}
Expand All @@ -303,7 +303,7 @@ void pause_tabs_draw_map(MenuPanel* menu, s32 baseX, s32 baseY, s32 width, s32 h
hud_element_set_render_pos(gPauseTabsIconIDs[5], baseX + 23, baseY + 7);
hud_element_draw_without_clipping(gPauseTabsIconIDs[5]);
if (gPauseMenuCurrentTab == 0) {
if (gPauseTabsWindowIDs[menu->col] == 30) {
if (gPauseTabsWindowIDs[menu->col] == WIN_PAUSE_TAB_MAP) {
pause_set_cursor_pos(gPauseTabsWindowIDs[menu->col], baseX + TABS_CURSOR_OFFSET_X, baseY + 6);
}
}
Expand Down
File renamed without changes.
Loading
Loading