Skip to content

Commit

Permalink
Merge pull request #3329 from EasyRPG-NewFeatures/maniacs-FlashEvent
Browse files Browse the repository at this point in the history
FlashEvent - Maniac Patch Parameters
  • Loading branch information
Ghabry authored Jan 14, 2025
2 parents d6ff81f + eeaeb81 commit ea2f6c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/game_interpreter_map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,11 +712,11 @@ bool Game_Interpreter_Map::CommandShowBattleAnimation(lcf::rpg::EventCommand con
}

bool Game_Interpreter_Map::CommandFlashSprite(lcf::rpg::EventCommand const& com) { // code 11320
int event_id = com.parameters[0];
int r = com.parameters[1];
int g = com.parameters[2];
int b = com.parameters[3];
int p = com.parameters[4];
int event_id = ValueOrVariableBitfield(com, 7, 0, 0);
int r = ValueOrVariableBitfield(com, 7, 1, 1);
int g = ValueOrVariableBitfield(com, 7, 2, 2);
int b = ValueOrVariableBitfield(com, 7, 3, 3);
int p = ValueOrVariableBitfield(com, 7, 4, 4);

int tenths = com.parameters[5];
bool wait = com.parameters[6] > 0;
Expand Down

0 comments on commit ea2f6c0

Please sign in to comment.