Browse Source

Better default values for newly-created events

Marcus Huderle 6 years ago
parent
commit
b05c59bfd8
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      event.cpp

+ 3
- 3
event.cpp View File

@@ -42,8 +42,8 @@ Event* Event::createNewObjectEvent()
42 42
     Event *event = new Event;
43 43
     event->put("event_group_type", "object_event_group");
44 44
     event->put("event_type", EventType::Object);
45
-    event->put("sprite", "MOVEMENT_TYPE_LOOK_AROUND");
46
-    event->put("movement_type", "1");
45
+    event->put("sprite", "EVENT_OBJ_GFX_BOY_1");
46
+    event->put("movement_type", "MOVEMENT_TYPE_LOOK_AROUND");
47 47
     event->put("radius_x", 0);
48 48
     event->put("radius_y", 0);
49 49
     event->put("script_label", "NULL");
@@ -89,7 +89,7 @@ Event* Event::createNewSignEvent()
89 89
     Event *event = new Event;
90 90
     event->put("event_group_type", "bg_event_group");
91 91
     event->put("event_type", EventType::Sign);
92
-    event->put("player_facing_direction", "0");
92
+    event->put("player_facing_direction", "BG_EVENT_PLAYER_FACING_ANY");
93 93
     event->put("script_label", "NULL");
94 94
     return event;
95 95
 }