# Per-map GSW(0) for map sweeps (SPM_SWEEP_GSW0_TABLE=tools\sweep-gsw0.txt). "prefix value", longest prefix wins;
# maps matching nothing use SPM_SWEEP_GSW0 (default: leave the save alone). Generated by tools\gen-sweep-gsw0.py:
# map line = highest GSW(0) threshold that map's own evt scripts test/set inside its chapter range (past every
# intro/cutscene branch of the map); sub-area line (he1 ...) = highest value its maps SET (state after finishing
# it), or the previous sub-area's value when it sets none.
# chapter he: GSW(0) range [11,54) from the game's chapter switch
he1 20
he1_01 14
he1_04 18
he1_05 20
he2 31
he2_01 20
he2_02 29
he2_03 27
he2_04 26
he2_05 27
he2_06 25
he2_07 25
he2_08 31
he2_09 24
he3 39
he3_01 31
he3_02 32
he3_03 34
he3_04 34
he3_07 38
he3_08 39
he4 53
he4_01 39
he4_02 41
he4_03 41
he4_04 44
he4_05 44
he4_06 47
he4_07 49
he4_08 50
he4_09 52
he4_10 53
he4_11 53
he4_12 45
# chapter mi: GSW(0) range [54,96) from the game's chapter switch
mi1 78
mi1_01 74
mi1_02 74
mi1_03 77
mi1_04 68
mi1_05 71
mi1_06 73
mi1_07 73
mi1_08 75
mi1_10 74
mi1_11 78
mi2 85
mi2_01 78
mi2_02 80
mi2_03 80
mi2_05 79
mi2_06 79
mi2_07 83
mi2_11 87
mi3 90
mi3_01 89
mi3_02 89
mi3_03 89
mi3_04 89
mi3_05 89
mi3_06 90
mi4 95
mi4_01 90
mi4_05 91
mi4_06 91
mi4_13 95
mi4_14 94
mi4_15 92
# chapter ta: GSW(0) range [96,126) from the game's chapter switch
ta1 109
ta1_01 109
ta1_03 106
ta1_04 104
ta1_09 125
ta2 114
ta2_01 109
ta2_03 108
ta2_04 110
ta2_05 112
ta2_06 114
ta3 122
ta3_01 115
ta3_02 116
ta3_03 118
ta3_08 122
ta4 125
ta4_01 122
ta4_02 120
ta4_03 124
ta4_04 125
ta4_11 123
ta4_12 125
ta4_13 125
# chapter sp: GSW(0) range [126,174) from the game's chapter switch
sp1 147
sp1_01 137
sp1_02 137
sp1_05 139
sp1_07 162
sp2 153
sp2_01 150
sp2_07 144
sp2_10 153
sp3 162
sp3_01 157
sp3_02 161
sp3_07 162
sp4 173
sp4_01 162
sp4_02 164
sp4_03 164
sp4_04 163
sp4_05 163
sp4_06 166
sp4_07 166
sp4_10 169
sp4_11 169
sp4_12 172
sp4_13 173
sp4_14 173
sp4_16 171
# chapter gn: GSW(0) range [174,221) from the game's chapter switch
gn1 188
gn1_01 185
gn1_02 187
gn1_03 185
gn1_05 188
gn2 200
gn2_01 193
gn2_02 193
gn2_03 191
gn2_04 195
gn2_06 200
gn3 204
gn3_01 200
gn3_02 201
gn3_03 203
gn3_08 203
gn3_11 199
gn3_12 199
gn3_13 199
gn3_14 204
gn4 220
gn4_01 208
gn4_02 210
gn4_03 209
gn4_06 207
gn4_07 207
gn4_09 212
gn4_10 212
gn4_11 213
gn4_12 216
gn4_13 217
gn4_14 218
gn4_15 220
gn4_16 220
# chapter wa: GSW(0) range [221,287) from the game's chapter switch
wa1 286
wa1_01 286
wa1_02 230
wa1_03 230
wa1_25 272
wa1_26 286
wa1_27 286
wa2 286
wa2_01 284
wa2_02 284
wa2_03 284
wa2_04 284
wa2_05 284
wa2_06 284
wa3 286
wa4 286
# chapter an: GSW(0) range [287,354) from the game's chapter switch
an1 321
an1_01 304
an1_02 304
an1_03 305
an1_04 307
an1_05 304
an1_06 304
an1_07 304
an1_08 304
an1_09 304
an1_10 304
an1_11 321
an2 329
an2_01 311
an2_02 316
an2_03 324
an2_04 319
an2_05 323
an2_06 324
an2_07 326
an2_08 328
an2_09 325
an2_10 329
an3 345
an3_01 329
an3_03 340
an3_05 331
an3_06 331
an3_14 333
an3_15 345
an4 353
an4_01 349
an4_02 353
an4_03 350
an4_04 344
an4_08 351
an4_09 353
an4_10 353
# chapter ls: GSW(0) range [354,421) from the game's chapter switch
ls1 372
ls1_01 360
ls1_04 362
ls1_05 362
ls1_06 361
ls1_07 361
ls1_09 363
ls1_10 364
ls1_11 371
ls1_12 372
ls2 388
ls2_01 376
ls2_02 376
ls2_03 374
ls2_08 378
ls2_09 378
ls2_11 377
ls2_12 379
ls2_13 379
ls2_15 380
ls2_16 384
ls2_17 387
ls2_18 388
ls3 406
ls3_01 388
ls3_02 390
ls3_03 405
ls3_04 396
ls3_05 392
ls3_06 393
ls3_07 393
ls3_08 395
ls3_09 395
ls3_10 399
ls3_11 401
ls3_12 405
ls3_13 406
ls4 417
ls4_01 406
ls4_03 409
ls4_04 409
ls4_05 408
ls4_10 416
ls4_11 417
ls4_12 414
ls4_13 407
# Flipside/Flopside hub: 225 = chapter 6 start (mac_22/ls4_11 switch case < 225); past every mac_* intro before
# chapter 6 (mac_15 SET224) and before the chapter 6-8 hub events (mac_16 ==302/SET303).
mac 225
dos 225
# aa* (prologue/cutscene maps), dan_* (Pit), mg* (minigames), go1, bos: no GSW(0) branches worth setting -> fallback.
