From e386a7f875ab7bf4e7abecc219a35350cc248552 Mon Sep 17 00:00:00 2001 From: lumiscosity Date: Fri, 27 Sep 2024 18:45:20 +0200 Subject: [PATCH] change default ce to have the "call" trigger type --- generator/csv/fields.csv | 2 +- src/generated/lcf/rpg/commonevent.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/csv/fields.csv b/generator/csv/fields.csv index 7f3ee47a..810b4855 100644 --- a/generator/csv/fields.csv +++ b/generator/csv/fields.csv @@ -135,7 +135,7 @@ Class,attribute_ranks,t,Vector,0x49,,0,0,Integer Class,attribute_ranks,f,Vector,0x4A,,1,0,Array - Short Class,battle_commands,f,Vector>,0x50,,1,0,Array - Uint32 CommonEvent,name,f,DBString,0x01,,0,0,String -CommonEvent,trigger,f,Enum,0x0B,0,0,0,Integer +CommonEvent,trigger,f,Enum,0x0B,5,0,0,Integer CommonEvent,switch_flag,f,Boolean,0x0C,False,0,0,Flag CommonEvent,switch_id,f,Ref,0x0D,1,0,0,Integer CommonEvent,event_commands,t,Vector,0x15,,1,0,Integer diff --git a/src/generated/lcf/rpg/commonevent.h b/src/generated/lcf/rpg/commonevent.h index 55eb655a..6e76d823 100644 --- a/src/generated/lcf/rpg/commonevent.h +++ b/src/generated/lcf/rpg/commonevent.h @@ -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 event_commands;