mirror of
https://github.com/AllenSeitz/dance-maniax-update.git
synced 2026-09-07 09:35:57 -05:00
When playing with a single player the 2P triangles may now be used to change your speed mod. (Useful for 'right side' setting or doubles.)
This commit is contained in:
@@ -282,13 +282,27 @@ void mainGameplayLoop(UTIME dt)
|
||||
{
|
||||
gs.player[0].speedMod += 5;
|
||||
}
|
||||
if ( gs.player[1].speedMod > 10 && im.getKeyState(MENU_LEFT_2P) == JUST_DOWN )
|
||||
if ( gs.isVersus )
|
||||
{
|
||||
gs.player[1].speedMod -= 5;
|
||||
if ( gs.player[1].speedMod > 10 && im.getKeyState(MENU_LEFT_2P) == JUST_DOWN )
|
||||
{
|
||||
gs.player[1].speedMod -= 5;
|
||||
}
|
||||
if ( gs.player[1].speedMod < 80 && im.getKeyState(MENU_RIGHT_2P) == JUST_DOWN )
|
||||
{
|
||||
gs.player[1].speedMod += 5;
|
||||
}
|
||||
}
|
||||
if ( gs.player[1].speedMod < 80 && im.getKeyState(MENU_RIGHT_2P) == JUST_DOWN )
|
||||
else
|
||||
{
|
||||
gs.player[1].speedMod += 5;
|
||||
if ( gs.player[0].speedMod > 10 && im.getKeyState(MENU_LEFT_2P) == JUST_DOWN )
|
||||
{
|
||||
gs.player[0].speedMod -= 5;
|
||||
}
|
||||
if ( gs.player[0].speedMod < 80 && im.getKeyState(MENU_RIGHT_2P) == JUST_DOWN )
|
||||
{
|
||||
gs.player[0].speedMod += 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user