From 38d28d2c9165e5b3e6c768feb6d00310f6323c34 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Sun, 16 Oct 2016 14:44:26 -0400 Subject: Label battle AI script and update map BGM constants (#59) * purge text label redundancy in data2 * revo you dummy dont commit experimental changes like that * Map header music constants * Declare CoordEvent and BgEvent structs * start labeling AI labels * more labels * even more AI labels * finish labeling battle AI * change flee2 to watch * egg nickname * oops --- include/fieldmap.h | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'include/fieldmap.h') diff --git a/include/fieldmap.h b/include/fieldmap.h index 9a134e65c..852a6c337 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -55,6 +55,25 @@ struct WarpEvent s8 mapNum; }; +struct CoordEvent +{ + s16 x, y; + u8 filler_4[0x2]; + u16 trigger; + u16 index; + u8 filler_A[0x2]; + u8 *script; +}; + +struct BgEvent +{ + s16 x, y; + u8 filler_4; + u8 kind; + s16 filler_6; + u8 *script; +}; + struct MapEvents { u8 mapObjectCount; @@ -64,8 +83,8 @@ struct MapEvents struct MapObjectTemplate *mapObjects; struct WarpEvent *warps; - void *coordEvents; - void *bgEvents; + struct CoordEvent *coordEvents; + struct BgEvent *bgEvents; }; struct MapConnection -- cgit v1.2.3