Skip to content

Commit

Permalink
Merge pull request #484 from lumiscosity/improve_defaults
Browse files Browse the repository at this point in the history
Change default CE to have the "call" trigger type
  • Loading branch information
Ghabry authored Oct 9, 2024
2 parents 8614f63 + e386a7f commit c06f313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Class,attribute_ranks,t,Vector<UInt8>,0x49,,0,0,Integer
Class,attribute_ranks,f,Vector<UInt8>,0x4A,,1,0,Array - Short
Class,battle_commands,f,Vector<Ref<BattleCommand:Int32>>,0x50,,1,0,Array - Uint32
CommonEvent,name,f,DBString,0x01,,0,0,String
CommonEvent,trigger,f,Enum<CommonEvent_Trigger>,0x0B,0,0,0,Integer
CommonEvent,trigger,f,Enum<CommonEvent_Trigger>,0x0B,5,0,0,Integer
CommonEvent,switch_flag,f,Boolean,0x0C,False,0,0,Flag
CommonEvent,switch_id,f,Ref<Switch>,0x0D,1,0,0,Integer
CommonEvent,event_commands,t,Vector<EventCommand>,0x15,,1,0,Integer
Expand Down
2 changes: 1 addition & 1 deletion src/generated/lcf/rpg/commonevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace rpg {

int ID = 0;
DBString name;
int32_t trigger = 0;
int32_t trigger = 5;
bool switch_flag = false;
int32_t switch_id = 1;
std::vector<EventCommand> event_commands;
Expand Down

0 comments on commit c06f313

Please sign in to comment.