diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-03-11 12:08:08 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-03-11 12:08:08 -0400 |
commit | a0f951b09c526bd92c2719ef3e28cccfeb0fc84a (patch) | |
tree | 43bae4fca20b98058172de7f2616ec4625bda99a /tools/mapjson/mapjson.cpp | |
parent | 6af8c04d8fa6aaeaeb6c8b919e7770a65b9a883d (diff) |
trainer_type and trainer_sight_or_berry_tree_id to string
Diffstat (limited to 'tools/mapjson/mapjson.cpp')
-rw-r--r-- | tools/mapjson/mapjson.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp index ad3aa3769..41d8b01f8 100644 --- a/tools/mapjson/mapjson.cpp +++ b/tools/mapjson/mapjson.cpp @@ -281,8 +281,8 @@ string generate_firered_map_events_text(Json map_data) { << obj_event["movement_type"].string_value() << ", " << obj_event["movement_range_x"].int_value() << ", " << obj_event["movement_range_y"].int_value() << ", " - << obj_event["trainer_type"].int_value() << ", " - << obj_event["trainer_sight_or_berry_tree_id"].int_value() << ", " + << obj_event["trainer_type"].string_value() << ", " + << obj_event["trainer_sight_or_berry_tree_id"].string_value() << ", " << obj_event["script"].string_value() << ", " << obj_event["flag"].string_value() << "\n"; } |