Fix bad header name gen

This commit is contained in:
PikalaxALT 2021-12-31 13:46:16 -05:00
parent b3a7b8cf8b
commit 6398a3503e
79 changed files with 284 additions and 117 deletions

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0027_H_
#define SCR_SEQ_0027_H_
#define _EV_scr_seq_0027_000 0
#endif //SCR_SEQ_0027_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0036_H_
#define SCR_SEQ_0036_H_
#define _EV_scr_seq_0036_000 0
#endif //SCR_SEQ_0036_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0068_H_
#define SCR_SEQ_0068_H_
#define _EV_scr_seq_0068_000 0
#endif //SCR_SEQ_0068_H_

View File

@ -0,0 +1,9 @@
#ifndef SCR_SEQ_0071_H_
#define SCR_SEQ_0071_H_
#define _EV_scr_seq_0071_000 0
#define _EV_scr_seq_0071_001 1
#define _EV_scr_seq_0071_002 2
#endif //SCR_SEQ_0071_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0072_H_
#define SCR_SEQ_0072_H_
#define _EV_scr_seq_0072_000 0
#endif //SCR_SEQ_0072_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0073_H_
#define SCR_SEQ_0073_H_
#define _EV_scr_seq_0073_000 0
#endif //SCR_SEQ_0073_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0074_H_
#define SCR_SEQ_0074_H_
#define _EV_scr_seq_0074_000 0
#endif //SCR_SEQ_0074_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0140_H_
#define SCR_SEQ_0140_H_
#define _EV_scr_seq_0140_000 0
#endif //SCR_SEQ_0140_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0142_H_
#define SCR_SEQ_0142_H_
#define _EV_scr_seq_0142_000 0
#endif //SCR_SEQ_0142_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0214_H_
#define SCR_SEQ_0214_H_
#define _EV_scr_seq_0214_000 0
#endif //SCR_SEQ_0214_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0876_H_
#define SCR_SEQ_0876_H_
#define _EV_scr_seq_0876_000 0
#endif //SCR_SEQ_0876_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0889_H_
#define SCR_SEQ_0889_H_
#define _EV_scr_seq_0889_000 0
#endif //SCR_SEQ_0889_H_

View File

@ -0,0 +1,6 @@
#ifndef SCR_SEQ_0925_H_
#define SCR_SEQ_0925_H_
#endif //SCR_SEQ_0925_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0931_H_
#define SCR_SEQ_0931_H_
#define _EV_scr_seq_0931_000 0
#endif //SCR_SEQ_0931_H_

View File

@ -0,0 +1,7 @@
#ifndef SCR_SEQ_0933_H_
#define SCR_SEQ_0933_H_
#define _EV_scr_seq_0933_000 0
#endif //SCR_SEQ_0933_H_

View File

@ -0,0 +1,6 @@
#ifndef SCR_SEQ_0956_H_
#define SCR_SEQ_0956_H_
#endif //SCR_SEQ_0956_H_

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0000.h"
#include "msgdata/msg/msg_0014.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0001.h"
#include "msgdata/msg/msg_0020.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0002.h"
#include "msgdata/msg/msg_0748.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0003.h"
#include "msgdata/msg/msg_0040.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0004.h"
#include "msgdata/msg/msg_0046.h"
.include "asm/macros/script.inc"

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0027.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0027_0006 ; 000
scrdef scr_seq_0027_000
scrdef_end
scr_seq_0027_0006:
scr_seq_0027_000:
end
.balign 4, 0

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0036.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0036_0006 ; 000
scrdef scr_seq_0036_000
scrdef_end
scr_seq_0036_0006:
scr_seq_0036_000:
end
.balign 4, 0

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0068.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0068_0006 ; 000
scrdef scr_seq_0068_000
scrdef_end
scr_seq_0068_0006:
scr_seq_0068_000:
end
.balign 4, 0

View File

@ -1,40 +1,42 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0071.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0071_000E ; 000
scrdef scr_seq_0071_0010 ; 001
scrdef scr_seq_0071_0025 ; 002
scrdef scr_seq_0071_000
scrdef scr_seq_0071_001
scrdef scr_seq_0071_002
scrdef_end
scr_seq_0071_000E:
scr_seq_0071_000:
end
scr_seq_0071_0010:
scr_seq_0071_001:
comparevartovalue VAR_UNK_414E, 0
callif ne, scr_seq_0071_001F
callif ne, _001F
end
scr_seq_0071_001F:
_001F:
scrcmd_375 255
return
scr_seq_0071_0025:
scr_seq_0071_002:
scrcmd_609
lockall
call scr_seq_0071_0090
call _0090
scrcmd_380 32780, 4
copyvar VAR_SPECIAL_x8008, VAR_SPECIAL_x800C
comparevartovalue VAR_SPECIAL_x8008, 1
gotoif eq, scr_seq_0071_00F2
gotoif eq, _00F2
comparevartovalue VAR_SPECIAL_x8008, 2
gotoif eq, scr_seq_0071_010C
gotoif eq, _010C
comparevartovalue VAR_SPECIAL_x8008, 3
gotoif eq, scr_seq_0071_0126
goto scr_seq_0071_00D8
gotoif eq, _0126
goto _00D8
scr_seq_0071_0068:
_0068:
fade_screen 6, 1, 0, 0x00
wait_fade
scrcmd_176 269, 0, 7, 6, 0
@ -43,114 +45,104 @@ scr_seq_0071_0068:
releaseall
end
scr_seq_0071_0090:
_0090:
scrcmd_307 0, 0, 2, 2, 77
scrcmd_310 77
scrcmd_308 77
apply_movement 0, scr_seq_0071_0140
apply_movement 0, _0140
wait_movement
scrcmd_374 255
apply_movement 255, scr_seq_0071_014C
apply_movement obj_player, _014C
wait_movement
scrcmd_311 77
scrcmd_308 77
scrcmd_309 77
return
scr_seq_0071_00C4:
.byte 0x5e, 0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x5e, 0x00, 0xff, 0x00
.byte 0x90, 0x00, 0x00, 0x00, 0x5f, 0x00, 0x1b, 0x00
scr_seq_0071_00D8:
apply_movement 0, scr_seq_0071_0178
apply_movement 255, scr_seq_0071_0188
_00D8:
apply_movement 0, _0178
apply_movement obj_player, _0188
wait_movement
goto scr_seq_0071_0068
scr_seq_0071_00F0:
goto _0068
.byte 0x02, 0x00
scr_seq_0071_00F2:
apply_movement 0, scr_seq_0071_019C
apply_movement 255, scr_seq_0071_01AC
_00F2:
apply_movement 0, _019C
apply_movement obj_player, _01AC
wait_movement
goto scr_seq_0071_0068
scr_seq_0071_010A:
goto _0068
.byte 0x02, 0x00
scr_seq_0071_010C:
apply_movement 0, scr_seq_0071_01C0
apply_movement 255, scr_seq_0071_01D0
_010C:
apply_movement 0, _01C0
apply_movement obj_player, _01D0
wait_movement
goto scr_seq_0071_0068
scr_seq_0071_0124:
goto _0068
.byte 0x02, 0x00
scr_seq_0071_0126:
apply_movement 0, scr_seq_0071_01E4
apply_movement 255, scr_seq_0071_01F4
_0126:
apply_movement 0, _01E4
apply_movement obj_player, _01F4
wait_movement
goto scr_seq_0071_0068
scr_seq_0071_013E:
goto _0068
.byte 0x02, 0x00
scr_seq_0071_0140:
_0140:
step 13, 3
step 0, 1
step_end
scr_seq_0071_014C:
_014C:
step 13, 2
step_end
.byte 0x00, 0x00, 0x01, 0x00, 0x0c, 0x00, 0x02, 0x00, 0x45, 0x00, 0x01, 0x00
.byte 0xfe, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x14, 0x00, 0x01, 0x00
.byte 0x45, 0x00, 0x01, 0x00, 0xfe, 0x00, 0x00, 0x00
scr_seq_0071_0178:
_0178:
step 15, 4
step 12, 2
step 69, 1
step_end
scr_seq_0071_0188:
_0188:
step 13, 1
step 15, 4
step 12, 2
step 69, 1
step_end
scr_seq_0071_019C:
_019C:
step 15, 8
step 12, 2
step 69, 1
step_end
scr_seq_0071_01AC:
_01AC:
step 13, 1
step 15, 8
step 12, 2
step 69, 1
step_end
scr_seq_0071_01C0:
_01C0:
step 15, 12
step 12, 2
step 69, 1
step_end
scr_seq_0071_01D0:
_01D0:
step 13, 1
step 15, 12
step 12, 2
step 69, 1
step_end
scr_seq_0071_01E4:
_01E4:
step 15, 16
step 12, 2
step 69, 1
step_end
scr_seq_0071_01F4:
_01F4:
step 13, 1
step 15, 16
step 12, 2

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0072.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0072_0006 ; 000
scrdef scr_seq_0072_000
scrdef_end
scr_seq_0072_0006:
scr_seq_0072_000:
end
.balign 4, 0

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0073.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0073_0006 ; 000
scrdef scr_seq_0073_000
scrdef_end
scr_seq_0073_0006:
scr_seq_0073_000:
end
.balign 4, 0

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0074.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0074_0006 ; 000
scrdef scr_seq_0074_000
scrdef_end
scr_seq_0074_0006:
scr_seq_0074_000:
end
.balign 4, 0

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0136.h"
#include "msgdata/msg/msg_0040.h"
.include "asm/macros/script.inc"

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0140.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0140_0006 ; 000
scrdef scr_seq_0140_000
scrdef_end
scr_seq_0140_0006:
scr_seq_0140_000:
end
.balign 4, 0

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0141.h"
#include "msgdata/msg/msg_0199.h"
.include "asm/macros/script.inc"

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0142.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0142_0006 ; 000
scrdef scr_seq_0142_000
scrdef_end
scr_seq_0142_0006:
scr_seq_0142_000:
end
.balign 4, 0

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0143.h"
#include "msgdata/msg/msg_0204.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0144.h"
#include "msgdata/msg/msg_0209.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0145.h"
#include "msgdata/msg/msg_0210.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0146.h"
#include "msgdata/msg/msg_0211.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0148.h"
#include "msgdata/msg/msg_0666.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0149.h"
#include "msgdata/msg/msg_0040.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0150.h"
#include "msgdata/msg/msg_0023.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0151.h"
#include "msgdata/msg/msg_0246.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0163.h"
#include "msgdata/msg/msg_0266.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0164.h"
#include "msgdata/msg/msg_0267.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0165.h"
#include "msgdata/msg/msg_0268.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0166.h"
#include "msgdata/msg/msg_0043.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0167.h"
#include "msgdata/msg/msg_0312.h"
.include "asm/macros/script.inc"

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0214.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0214_0006 ; 000
scrdef scr_seq_0214_000
scrdef_end
scr_seq_0214_0006:
scr_seq_0214_000:
end
.balign 4, 0

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0262.h"
#include "msgdata/msg/msg_0427.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0263.h"
#include "msgdata/msg/msg_0433.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0264.h"
#include "msgdata/msg/msg_0019.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0265.h"
#include "msgdata/msg/msg_0439.h"
.include "asm/macros/script.inc"

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0027.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0036.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0068.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0071.h"
.rodata
.option alignment off
@ -7,10 +8,10 @@
.byte 3
.short 2, 0
.byte 1
.word scr_seq_0332_0010-.-4
.word scr_seq_0071_map_scripts_2-.-4
.byte 0
scr_seq_0332_0010:
scr_seq_0071_map_scripts_2:
.short VAR_UNK_414E, 1, 3
.short 0

View File

@ -1,12 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0072.h"
.rodata
.option alignment off
.byte 1
.word scr_seq_0333_0006-.-4
.word scr_seq_0072_map_scripts_2-.-4
.byte 0
scr_seq_0333_0006:
scr_seq_0072_map_scripts_2:
.short 0
.balign 4, 0

View File

@ -1,12 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0073.h"
.rodata
.option alignment off
.byte 1
.word scr_seq_0334_0006-.-4
.word scr_seq_0073_map_scripts_2-.-4
.byte 0
scr_seq_0334_0006:
scr_seq_0073_map_scripts_2:
.short 0
.balign 4, 0

View File

@ -1,12 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0074.h"
.rodata
.option alignment off
.byte 1
.word scr_seq_0335_0006-.-4
.word scr_seq_0074_map_scripts_2-.-4
.byte 0
scr_seq_0335_0006:
scr_seq_0074_map_scripts_2:
.short 0
.balign 4, 0

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0140.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0142.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0214.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0876.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0889.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0925.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0931.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0933.h"
.rodata
.option alignment off

View File

@ -1,4 +1,5 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0956.h"
.rodata
.option alignment off

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0734.h"
#include "msgdata/msg/msg_0444.h"
.include "asm/macros/script.inc"

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0876.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0876_0006 ; 000
scrdef scr_seq_0876_000
scrdef_end
scr_seq_0876_0006:
scr_seq_0876_000:
end
.balign 4, 0

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0889.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0889_0006 ; 000
scrdef scr_seq_0889_000
scrdef_end
scr_seq_0889_0006:
scr_seq_0889_000:
end
.balign 4, 0

View File

@ -1,4 +1,6 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0925.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0931.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0931_0006 ; 000
scrdef scr_seq_0931_000
scrdef_end
scr_seq_0931_0006:
scr_seq_0931_000:
end
.balign 4, 0

View File

@ -1,11 +1,13 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0933.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata
scrdef scr_seq_0933_0006 ; 000
scrdef scr_seq_0933_000
scrdef_end
scr_seq_0933_0006:
scr_seq_0933_000:
end
.balign 4, 0

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0952.h"
#include "msgdata/msg/msg_0726.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0953.h"
#include "msgdata/msg/msg_0040.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0954.h"
#include "msgdata/msg/msg_0733.h"
.include "asm/macros/script.inc"

View File

@ -1,5 +1,5 @@
#include "constants/scrcmd.h"
#include "../.h"
#include "fielddata/script/scr_seq/event_0955.h"
#include "msgdata/msg/msg_0732.h"
.include "asm/macros/script.inc"

View File

@ -1,4 +1,6 @@
#include "constants/scrcmd.h"
#include "fielddata/script/scr_seq/event_0956.h"
#include "msgdata/msg/msg_0003_EVERYWHERE.h"
.include "asm/macros/script.inc"
.rodata

View File

@ -594,11 +594,12 @@ def parse_map(events, scripts, header, gmm):
scr_pref = os.path.splitext(os.path.basename(scripts))[0]
scr_pref = re.sub(r'scr_seq_\d{4}_', 'scr_seq_', scr_pref)
if 'DUMMY' in events:
if not events or 'DUMMY' in events:
c_header_abs = (re.sub(r'scr_seq_\d{4}_', 'scr_seq_', os.path.splitext(scripts)[0]) + '.h').replace('scr_seq_', 'event_')
else:
c_header_abs = re.sub(r'eventdata/zone_event/\d{3}_', 'script/scr_seq/event_', os.path.splitext(events)[0] + '.h')
c_header = os.path.relpath(c_header_abs, os.path.join(project_root, 'files'))
assert not c_header.startswith('..')
if header:
with open(header_bin, 'rb') as fp:
parser = SpecialScriptParser(c_header, fp.read(), prefix=scr_pref).parse_all()

View File

@ -518,3 +518,19 @@ files/fielddata/eventdata/zone_event/487_D47PC0102.json,files/fielddata/script/s
files/fielddata/eventdata/zone_event/488_T25SP0101.json,files/fielddata/script/scr_seq/scr_seq_0910_T25SP0101.s,files/fielddata/script/scr_seq/scr_seq_0683_T25SP0101_hdr.s,files/msgdata/msg/msg_0603_T25SP0101.gmm
files/fielddata/eventdata/zone_event/489_T07SP0101.json,files/fielddata/script/scr_seq/scr_seq_0806_T07SP0101.s,files/fielddata/script/scr_seq/scr_seq_0579_T07SP0101_hdr.s,files/msgdata/msg/msg_0511_T07SP0101.gmm
files/fielddata/eventdata/zone_event/490_T10R0801.json,files/fielddata/script/scr_seq/scr_seq_0826_T10R0801.s,files/fielddata/script/scr_seq/scr_seq_0599_T10R0801_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0027.s,files/fielddata/script/scr_seq/scr_seq_0288_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0036.s,files/fielddata/script/scr_seq/scr_seq_0297_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0068.s,files/fielddata/script/scr_seq/scr_seq_0329_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0071.s,files/fielddata/script/scr_seq/scr_seq_0332_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0072.s,files/fielddata/script/scr_seq/scr_seq_0333_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0073.s,files/fielddata/script/scr_seq/scr_seq_0334_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0074.s,files/fielddata/script/scr_seq/scr_seq_0335_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0140.s,files/fielddata/script/scr_seq/scr_seq_0401_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0142.s,files/fielddata/script/scr_seq/scr_seq_0459_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0214.s,files/fielddata/script/scr_seq/scr_seq_0507_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0876.s,files/fielddata/script/scr_seq/scr_seq_0649_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0889.s,files/fielddata/script/scr_seq/scr_seq_0662_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0925.s,files/fielddata/script/scr_seq/scr_seq_0698_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0931.s,files/fielddata/script/scr_seq/scr_seq_0704_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0933.s,files/fielddata/script/scr_seq/scr_seq_0706_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm
,files/fielddata/script/scr_seq/scr_seq_0956.s,files/fielddata/script/scr_seq/scr_seq_0725_hdr.s,files/msgdata/msg/msg_0003_EVERYWHERE.gmm

1 files/fielddata/script/scr_seq/scr_seq_0000.s files/msgdata/msg/msg_0014.gmm
518 files/fielddata/eventdata/zone_event/488_T25SP0101.json files/fielddata/script/scr_seq/scr_seq_0910_T25SP0101.s files/fielddata/script/scr_seq/scr_seq_0683_T25SP0101_hdr.s files/msgdata/msg/msg_0603_T25SP0101.gmm
519 files/fielddata/eventdata/zone_event/489_T07SP0101.json files/fielddata/script/scr_seq/scr_seq_0806_T07SP0101.s files/fielddata/script/scr_seq/scr_seq_0579_T07SP0101_hdr.s files/msgdata/msg/msg_0511_T07SP0101.gmm
520 files/fielddata/eventdata/zone_event/490_T10R0801.json files/fielddata/script/scr_seq/scr_seq_0826_T10R0801.s files/fielddata/script/scr_seq/scr_seq_0599_T10R0801_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
521 files/fielddata/script/scr_seq/scr_seq_0027.s files/fielddata/script/scr_seq/scr_seq_0288_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
522 files/fielddata/script/scr_seq/scr_seq_0036.s files/fielddata/script/scr_seq/scr_seq_0297_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
523 files/fielddata/script/scr_seq/scr_seq_0068.s files/fielddata/script/scr_seq/scr_seq_0329_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
524 files/fielddata/script/scr_seq/scr_seq_0071.s files/fielddata/script/scr_seq/scr_seq_0332_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
525 files/fielddata/script/scr_seq/scr_seq_0072.s files/fielddata/script/scr_seq/scr_seq_0333_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
526 files/fielddata/script/scr_seq/scr_seq_0073.s files/fielddata/script/scr_seq/scr_seq_0334_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
527 files/fielddata/script/scr_seq/scr_seq_0074.s files/fielddata/script/scr_seq/scr_seq_0335_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
528 files/fielddata/script/scr_seq/scr_seq_0140.s files/fielddata/script/scr_seq/scr_seq_0401_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
529 files/fielddata/script/scr_seq/scr_seq_0142.s files/fielddata/script/scr_seq/scr_seq_0459_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
530 files/fielddata/script/scr_seq/scr_seq_0214.s files/fielddata/script/scr_seq/scr_seq_0507_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
531 files/fielddata/script/scr_seq/scr_seq_0876.s files/fielddata/script/scr_seq/scr_seq_0649_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
532 files/fielddata/script/scr_seq/scr_seq_0889.s files/fielddata/script/scr_seq/scr_seq_0662_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
533 files/fielddata/script/scr_seq/scr_seq_0925.s files/fielddata/script/scr_seq/scr_seq_0698_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
534 files/fielddata/script/scr_seq/scr_seq_0931.s files/fielddata/script/scr_seq/scr_seq_0704_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
535 files/fielddata/script/scr_seq/scr_seq_0933.s files/fielddata/script/scr_seq/scr_seq_0706_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm
536 files/fielddata/script/scr_seq/scr_seq_0956.s files/fielddata/script/scr_seq/scr_seq_0725_hdr.s files/msgdata/msg/msg_0003_EVERYWHERE.gmm