Add ed_telop.c for roll

This commit is contained in:
Kieron 2024-02-03 02:04:03 +00:00
parent d3ead5cdc4
commit d8f787e31e
15 changed files with 299 additions and 756 deletions

View File

@ -1,31 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C4F18
roll_ed_telop_800C4F18:
dw 0x27BDFFE8 ; 800C4F18
dw 0x24040073 ; 800C4F1C
dw 0xAFBF0014 ; 800C4F20
dw 0x0C00825A ; 800C4F24
dw 0xAFB00010 ; 800C4F28
dw 0x10400010 ; 800C4F2C
dw 0x24020001 ; 800C4F30
dw 0x0C0082A9 ; 800C4F34
dw 0x00000000 ; 800C4F38
dw 0x0C00829C ; 800C4F3C
dw 0x00402021 ; 800C4F40
dw 0x24040074 ; 800C4F44
dw 0x0C00825A ; 800C4F48
dw 0x00408021 ; 800C4F4C
dw 0x10400007 ; 800C4F50
dw 0x24020001 ; 800C4F54
dw 0x0C0082B5 ; 800C4F58
dw 0x00000000 ; 800C4F5C
dw 0x02002021 ; 800C4F60
dw 0x0C01253A ; 800C4F64
dw 0x00402821 ; 800C4F68
dw 0x24020001 ; 800C4F6C
dw 0x8FBF0014 ; 800C4F70
dw 0x8FB00010 ; 800C4F74
dw 0x03E00008 ; 800C4F78
dw 0x27BD0018 ; 800C4F7C

View File

@ -1,19 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C4F80
roll_ed_telop_800C4F80:
dw 0x3C02800D ; 800C4F80
dw 0x24429C38 ; 800C4F84
dw 0x240400A0 ; 800C4F88
dw 0x24430004 ; 800C4F8C
dw 0xAC600008 ; 800C4F90
dw 0xAC600004 ; 800C4F94
dw 0xAC600000 ; 800C4F98
dw 0x24630010 ; 800C4F9C
dw 0xAC400000 ; 800C4FA0
dw 0x2484FFFC ; 800C4FA4
dw 0x1C80FFF9 ; 800C4FA8
dw 0x24420010 ; 800C4FAC
dw 0x03E00008 ; 800C4FB0
dw 0x00000000 ; 800C4FB4

View File

@ -1,98 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C4FB8
roll_ed_telop_800C4FB8:
dw 0x27BDFFC8 ; 800C4FB8
dw 0xAFB20020 ; 800C4FBC
dw 0x00809021 ; 800C4FC0
dw 0x3C04800C ; 800C4FC4
dw 0x24843238 ; 800C4FC8
dw 0x00002821 ; 800C4FCC
dw 0x00A03021 ; 800C4FD0
dw 0x00A03821 ; 800C4FD4
dw 0xAFBF0030 ; 800C4FD8
dw 0xAFB5002C ; 800C4FDC
dw 0xAFB40028 ; 800C4FE0
dw 0xAFB30024 ; 800C4FE4
dw 0xAFB1001C ; 800C4FE8
dw 0x0C023E7A ; 800C4FEC
dw 0xAFB00018 ; 800C4FF0
dw 0x0C0313E0 ; 800C4FF4
dw 0x26500028 ; 800C4FF8
dw 0x86440000 ; 800C4FFC
dw 0x86430002 ; 800C5000
dw 0x3C02800C ; 800C5004
dw 0x244B3230 ; 800C5008
dw 0x89680003 ; 800C500C
dw 0x99680000 ; 800C5010
dw 0x89690007 ; 800C5014
dw 0x99690004 ; 800C5018
dw 0xABA80013 ; 800C501C
dw 0xBBA80010 ; 800C5020
dw 0xABA90017 ; 800C5024
dw 0xBBA90014 ; 800C5028
dw 0x240200A0 ; 800C502C
dw 0x3C141F80 ; 800C5030
dw 0x00431023 ; 800C5034
dw 0x00021FC2 ; 800C5038
dw 0x00431021 ; 800C503C
dw 0x97A30012 ; 800C5040
dw 0x00021043 ; 800C5044
dw 0x00621821 ; 800C5048
dw 0x24020140 ; 800C504C
dw 0x00441023 ; 800C5050
dw 0xA7A30012 ; 800C5054
dw 0x00021FC2 ; 800C5058
dw 0x00431021 ; 800C505C
dw 0x86510002 ; 800C5060
dw 0x00000000 ; 800C5064
dw 0x1A200024 ; 800C5068
dw 0x00021043 ; 800C506C
dw 0x0002A840 ; 800C5070
dw 0x3C02800D ; 800C5074
dw 0x24539C38 ; 800C5078
dw 0x92020000 ; 800C507C
dw 0x00000000 ; 800C5080
dw 0x30420040 ; 800C5084
dw 0x14400016 ; 800C5088
dw 0x02802021 ; 800C508C
dw 0x96420000 ; 800C5090
dw 0x02002821 ; 800C5094
dw 0x00021400 ; 800C5098
dw 0x00023403 ; 800C509C
dw 0x000217C2 ; 800C50A0
dw 0x00C23021 ; 800C50A4
dw 0x0C031795 ; 800C50A8
dw 0x00063043 ; 800C50AC
dw 0x00408021 ; 800C50B0
dw 0x02B32021 ; 800C50B4
dw 0x02802821 ; 800C50B8
dw 0x86470000 ; 800C50BC
dw 0x0C0317AB ; 800C50C0
dw 0x26460004 ; 800C50C4
dw 0x0C023E19 ; 800C50C8
dw 0x00002021 ; 800C50CC
dw 0x27A40010 ; 800C50D0
dw 0x0C0247EC ; 800C50D4
dw 0x02602821 ; 800C50D8
dw 0x0803143A ; 800C50DC
dw 0x00000000 ; 800C50E0
dw 0x26100001 ; 800C50E4
dw 0x97A20012 ; 800C50E8
dw 0x2631FFFF ; 800C50EC
dw 0x24420001 ; 800C50F0
dw 0x1E20FFE1 ; 800C50F4
dw 0xA7A20012 ; 800C50F8
dw 0x8E420024 ; 800C50FC
dw 0x8FBF0030 ; 800C5100
dw 0x8FB5002C ; 800C5104
dw 0x8FB40028 ; 800C5108
dw 0x8FB30024 ; 800C510C
dw 0x8FB1001C ; 800C5110
dw 0x8FB00018 ; 800C5114
dw 0x24420028 ; 800C5118
dw 0x02421021 ; 800C511C
dw 0x8FB20020 ; 800C5120
dw 0x03E00008 ; 800C5124
dw 0x27BD0038 ; 800C5128

View File

@ -1,235 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C512C
roll_ed_telop_800C512C:
dw 0x3C0800FF ; 800C512C
dw 0x3508FFFF ; 800C5130
dw 0x240E0004 ; 800C5134
dw 0x240D0064 ; 800C5138
dw 0x240C0018 ; 800C513C
dw 0x240A0100 ; 800C5140
dw 0x240B00A0 ; 800C5144
dw 0xA08E0003 ; 800C5148
dw 0x8C830000 ; 800C514C
dw 0x3C09FF00 ; 800C5150
dw 0xA08D0007 ; 800C5154
dw 0xA0870004 ; 800C5158
dw 0xA0870005 ; 800C515C
dw 0xA0870006 ; 800C5160
dw 0xA4800008 ; 800C5164
dw 0xA48C000A ; 800C5168
dw 0xA080000C ; 800C516C
dw 0xA080000D ; 800C5170
dw 0xA48A0010 ; 800C5174
dw 0xA48B0012 ; 800C5178
dw 0x8CC20000 ; 800C517C
dw 0x00691824 ; 800C5180
dw 0x00481024 ; 800C5184
dw 0x00621825 ; 800C5188
dw 0xAC830000 ; 800C518C
dw 0x00881824 ; 800C5190
dw 0x8CC20000 ; 800C5194
dw 0x24840014 ; 800C5198
dw 0x00491024 ; 800C519C
dw 0x00431025 ; 800C51A0
dw 0xACC20000 ; 800C51A4
dw 0x8CA30000 ; 800C51A8
dw 0x00481024 ; 800C51AC
dw 0x00691824 ; 800C51B0
dw 0x00621825 ; 800C51B4
dw 0xACA30000 ; 800C51B8
dw 0x00A81824 ; 800C51BC
dw 0x8CC20000 ; 800C51C0
dw 0x24A50008 ; 800C51C4
dw 0x00491024 ; 800C51C8
dw 0x00431025 ; 800C51CC
dw 0xACC20000 ; 800C51D0
dw 0xA08E0003 ; 800C51D4
dw 0x8C830000 ; 800C51D8
dw 0x24020040 ; 800C51DC
dw 0xA08D0007 ; 800C51E0
dw 0xA0870004 ; 800C51E4
dw 0xA0870005 ; 800C51E8
dw 0xA0870006 ; 800C51EC
dw 0xA48A0008 ; 800C51F0
dw 0xA48C000A ; 800C51F4
dw 0xA080000C ; 800C51F8
dw 0xA080000D ; 800C51FC
dw 0xA4820010 ; 800C5200
dw 0xA48B0012 ; 800C5204
dw 0x8CC20000 ; 800C5208
dw 0x00691824 ; 800C520C
dw 0x00481024 ; 800C5210
dw 0x00621825 ; 800C5214
dw 0xAC830000 ; 800C5218
dw 0x8CC20000 ; 800C521C
dw 0x00882024 ; 800C5220
dw 0x00491024 ; 800C5224
dw 0x00441025 ; 800C5228
dw 0xACC20000 ; 800C522C
dw 0x8CA30000 ; 800C5230
dw 0x00481024 ; 800C5234
dw 0x00691824 ; 800C5238
dw 0x00621825 ; 800C523C
dw 0xACA30000 ; 800C5240
dw 0x8CC20000 ; 800C5244
dw 0x00A82824 ; 800C5248
dw 0x00491024 ; 800C524C
dw 0x00451025 ; 800C5250
dw 0x03E00008 ; 800C5254
dw 0xACC20000 ; 800C5258
dw 0x27BDFFE0 ; 800C525C
dw 0xAFB00010 ; 800C5260
dw 0x00808021 ; 800C5264
dw 0x3C02800B ; 800C5268
dw 0xAFB10014 ; 800C526C
dw 0x8C44B920 ; 800C5270
dw 0x3C02800D ; 800C5274
dw 0x24429BC8 ; 800C5278
dw 0xAFBF0018 ; 800C527C
dw 0x000418C0 ; 800C5280
dw 0x00641823 ; 800C5284
dw 0x000318C0 ; 800C5288
dw 0x00621821 ; 800C528C
dw 0x3C02800B ; 800C5290
dw 0x244219EC ; 800C5294
dw 0x00042080 ; 800C5298
dw 0x00441021 ; 800C529C
dw 0x24680010 ; 800C52A0
dw 0x00602821 ; 800C52A4
dw 0x8E040024 ; 800C52A8
dw 0x8C4601EC ; 800C52AC
dw 0x24840001 ; 800C52B0
dw 0x2C830006 ; 800C52B4
dw 0x10600081 ; 800C52B8
dw 0x00008821 ; 800C52BC
dw 0x3C02800D ; 800C52C0
dw 0x24429A90 ; 800C52C4
dw 0x00041880 ; 800C52C8
dw 0x00621821 ; 800C52CC
dw 0x8C620000 ; 800C52D0
dw 0x00000000 ; 800C52D4
dw 0x00400008 ; 800C52D8
dw 0x00000000 ; 800C52DC
dw 0x8E040040 ; 800C52E0
dw 0x0C0313EE ; 800C52E4
dw 0x00002821 ; 800C52E8
dw 0x8E030030 ; 800C52EC
dw 0xAE020040 ; 800C52F0
dw 0x080314F6 ; 800C52F4
dw 0x24020001 ; 800C52F8
dw 0x8E03002C ; 800C52FC
dw 0x8E020030 ; 800C5300
dw 0x2463FFFF ; 800C5304
dw 0x00033840 ; 800C5308
dw 0x00E33821 ; 800C530C
dw 0x00073980 ; 800C5310
dw 0x00E2001A ; 800C5314
dw 0x14400002 ; 800C5318
dw 0x00000000 ; 800C531C
dw 0x0007000D ; 800C5320
dw 0x2401FFFF ; 800C5324
dw 0x14410004 ; 800C5328
dw 0x3C018000 ; 800C532C
dw 0x14E10002 ; 800C5330
dw 0x00000000 ; 800C5334
dw 0x0006000D ; 800C5338
dw 0x00003812 ; 800C533C
dw 0x01002021 ; 800C5340
dw 0x240200C0 ; 800C5344
dw 0xAE03002C ; 800C5348
dw 0x0C03144B ; 800C534C
dw 0x00473823 ; 800C5350
dw 0x8E02002C ; 800C5354
dw 0x00000000 ; 800C5358
dw 0x1C400058 ; 800C535C
dw 0x24020002 ; 800C5360
dw 0x8E030034 ; 800C5364
dw 0x080314F7 ; 800C5368
dw 0xAE020024 ; 800C536C
dw 0x01002021 ; 800C5370
dw 0x8E02002C ; 800C5374
dw 0x240700C0 ; 800C5378
dw 0x2442FFFF ; 800C537C
dw 0x0C03144B ; 800C5380
dw 0xAE02002C ; 800C5384
dw 0x8E02002C ; 800C5388
dw 0x00000000 ; 800C538C
dw 0x1C400006 ; 800C5390
dw 0x2402FFFF ; 800C5394
dw 0x8E030034 ; 800C5398
dw 0x00000000 ; 800C539C
dw 0x10620002 ; 800C53A0
dw 0x00000000 ; 800C53A4
dw 0x24110001 ; 800C53A8
dw 0x96040020 ; 800C53AC
dw 0x24050001 ; 800C53B0
dw 0x3C06800C ; 800C53B4
dw 0x0C031616 ; 800C53B8
dw 0x24C63240 ; 800C53BC
dw 0x14400002 ; 800C53C0
dw 0x00000000 ; 800C53C4
dw 0x24110001 ; 800C53C8
dw 0x1220003C ; 800C53CC
dw 0x24020003 ; 800C53D0
dw 0x8E030030 ; 800C53D4
dw 0xAE020024 ; 800C53D8
dw 0x08031530 ; 800C53DC
dw 0xAE03002C ; 800C53E0
dw 0x8E03002C ; 800C53E4
dw 0x8E020030 ; 800C53E8
dw 0x2463FFFF ; 800C53EC
dw 0x00033840 ; 800C53F0
dw 0x00E33821 ; 800C53F4
dw 0x00073980 ; 800C53F8
dw 0x00E2001A ; 800C53FC
dw 0x14400002 ; 800C5400
dw 0x00000000 ; 800C5404
dw 0x0007000D ; 800C5408
dw 0x2401FFFF ; 800C540C
dw 0x14410004 ; 800C5410
dw 0x3C018000 ; 800C5414
dw 0x14E10002 ; 800C5418
dw 0x00000000 ; 800C541C
dw 0x0006000D ; 800C5420
dw 0x00003812 ; 800C5424
dw 0x01002021 ; 800C5428
dw 0x0C03144B ; 800C542C
dw 0xAE03002C ; 800C5430
dw 0x8E02002C ; 800C5434
dw 0x00000000 ; 800C5438
dw 0x1C400020 ; 800C543C
dw 0x00000000 ; 800C5440
dw 0x8E020028 ; 800C5444
dw 0x8E03003C ; 800C5448
dw 0x24420001 ; 800C544C
dw 0xAE020028 ; 800C5450
dw 0x8C630000 ; 800C5454
dw 0x00000000 ; 800C5458
dw 0x0043102A ; 800C545C
dw 0x14400004 ; 800C5460
dw 0x24020004 ; 800C5464
dw 0x2402FFFF ; 800C5468
dw 0x08031530 ; 800C546C
dw 0xAE020024 ; 800C5470
dw 0xAE020024 ; 800C5474
dw 0x2402000F ; 800C5478
dw 0x08031530 ; 800C547C
dw 0xAE02002C ; 800C5480
dw 0x8E02002C ; 800C5484
dw 0x00000000 ; 800C5488
dw 0x2442FFFF ; 800C548C
dw 0x1C40000B ; 800C5490
dw 0xAE02002C ; 800C5494
dw 0x08031530 ; 800C5498
dw 0xAE000024 ; 800C549C
dw 0x3C04800C ; 800C54A0
dw 0x24843238 ; 800C54A4
dw 0x00002821 ; 800C54A8
dw 0x00A03021 ; 800C54AC
dw 0x0C023E7A ; 800C54B0
dw 0x00A03821 ; 800C54B4
dw 0x0C005472 ; 800C54B8
dw 0x02002021 ; 800C54BC
dw 0x8FBF0018 ; 800C54C0

View File

@ -1,9 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C54C4
roll_ed_telop_800C54C4:
dw 0x8FB10014 ; 800C54C4
dw 0x8FB00010 ; 800C54C8
dw 0x03E00008 ; 800C54CC
dw 0x27BD0020 ; 800C54D0

View File

@ -1,17 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C54D4
roll_ed_telop_800C54D4:
dw 0x27BDFFE8 ; 800C54D4
dw 0xAFBF0010 ; 800C54D8
dw 0x8C840044 ; 800C54DC
dw 0x00000000 ; 800C54E0
dw 0x10800003 ; 800C54E4
dw 0x00000000 ; 800C54E8
dw 0x0C007FCB ; 800C54EC
dw 0x00002821 ; 800C54F0
dw 0x8FBF0010 ; 800C54F4
dw 0x00000000 ; 800C54F8
dw 0x03E00008 ; 800C54FC
dw 0x27BD0018 ; 800C5500

View File

@ -1,83 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C5504
roll_ed_telop_800C5504:
dw 0x27BDFFE8 ; 800C5504
dw 0xAFB00010 ; 800C5508
dw 0x00808021 ; 800C550C
dw 0x3C04800C ; 800C5510
dw 0x24843238 ; 800C5514
dw 0x00002821 ; 800C5518
dw 0x00A03021 ; 800C551C
dw 0xAFBF0014 ; 800C5520
dw 0x0C023E7A ; 800C5524
dw 0x00A03821 ; 800C5528
dw 0x3C08104A ; 800C552C
dw 0x35082000 ; 800C5530
dw 0x24050072 ; 800C5534
dw 0x3C07800B ; 800C5538
dw 0x3C06800B ; 800C553C
dw 0x8E040038 ; 800C5540
dw 0x8CE2B3CC ; 800C5544
dw 0x24030001 ; 800C5548
dw 0xACC3B380 ; 800C554C
dw 0x00481025 ; 800C5550
dw 0x0C0054B7 ; 800C5554
dw 0xACE2B3CC ; 800C5558
dw 0x0C0054E3 ; 800C555C
dw 0x00402021 ; 800C5560
dw 0x00005821 ; 800C5564
dw 0x240D0001 ; 800C5568
dw 0x3C03800D ; 800C556C
dw 0x24639BC8 ; 800C5570
dw 0x246A000C ; 800C5574
dw 0x24690008 ; 800C5578
dw 0x24680004 ; 800C557C
dw 0xAE02003C ; 800C5580
dw 0x24420004 ; 800C5584
dw 0x3C06800C ; 800C5588
dw 0xAE020040 ; 800C558C
dw 0x24C23230 ; 800C5590
dw 0x00603821 ; 800C5594
dw 0xAE000028 ; 800C5598
dw 0x94450002 ; 800C559C
dw 0x94C33230 ; 800C55A0
dw 0x3C06E100 ; 800C55A4
dw 0x30A40100 ; 800C55A8
dw 0x00042400 ; 800C55AC
dw 0x00042503 ; 800C55B0
dw 0x306203FF ; 800C55B4
dw 0x00021182 ; 800C55B8
dw 0x34420100 ; 800C55BC
dw 0x00821025 ; 800C55C0
dw 0x30A50200 ; 800C55C4
dw 0x00052C00 ; 800C55C8
dw 0x00052C03 ; 800C55CC
dw 0x00052880 ; 800C55D0
dw 0x00451025 ; 800C55D4
dw 0x00466025 ; 800C55D8
dw 0x34840100 ; 800C55DC
dw 0x00031C00 ; 800C55E0
dw 0x00031C03 ; 800C55E4
dw 0x24630100 ; 800C55E8
dw 0x306303FF ; 800C55EC
dw 0x00031983 ; 800C55F0
dw 0x00832025 ; 800C55F4
dw 0x00852025 ; 800C55F8
dw 0x00862025 ; 800C55FC
dw 0xA0ED0003 ; 800C5600
dw 0xAD0C0000 ; 800C5604
dw 0xA12D0003 ; 800C5608
dw 0xAD440000 ; 800C560C
dw 0x254A0038 ; 800C5610
dw 0x25290038 ; 800C5614
dw 0x25080038 ; 800C5618
dw 0x256B0001 ; 800C561C
dw 0x29620002 ; 800C5620
dw 0x1440FFF6 ; 800C5624
dw 0x24E70038 ; 800C5628
dw 0x8FBF0014 ; 800C562C
dw 0x8FB00010 ; 800C5630
dw 0x03E00008 ; 800C5634
dw 0x27BD0018 ; 800C5638

View File

@ -1,46 +0,0 @@
opt c+, at+, e+, n-
section overlay.text
xdef roll_ed_telop_800C563C
roll_ed_telop_800C563C:
dw 0x27BDFFE0 ; 800C563C
dw 0xAFB10014 ; 800C5640
dw 0x00808821 ; 800C5644
dw 0x24040005 ; 800C5648
dw 0x24050048 ; 800C564C
dw 0xAFBF0018 ; 800C5650
dw 0x0C005439 ; 800C5654
dw 0xAFB00010 ; 800C5658
dw 0x00408021 ; 800C565C
dw 0x12000019 ; 800C5660
dw 0x02002021 ; 800C5664
dw 0x3C05800C ; 800C5668
dw 0x24A5525C ; 800C566C
dw 0x3C06800C ; 800C5670
dw 0x3C07800D ; 800C5674
dw 0x24C654D4 ; 800C5678
dw 0x0C005453 ; 800C567C
dw 0x24E79AA8 ; 800C5680
dw 0x24040070 ; 800C5684
dw 0x0C0315C8 ; 800C5688
dw 0xAE110020 ; 800C568C
dw 0x24040066 ; 800C5690
dw 0x2405001E ; 800C5694
dw 0x0C0315B8 ; 800C5698
dw 0xAE020044 ; 800C569C
dw 0x24040064 ; 800C56A0
dw 0x24050096 ; 800C56A4
dw 0x0C0315B8 ; 800C56A8
dw 0xAE020030 ; 800C56AC
dw 0x24040074 ; 800C56B0
dw 0x0C0315C8 ; 800C56B4
dw 0xAE020034 ; 800C56B8
dw 0x02002021 ; 800C56BC
dw 0x0C031541 ; 800C56C0
dw 0xAE020038 ; 800C56C4
dw 0x02001021 ; 800C56C8
dw 0x8FBF0018 ; 800C56CC
dw 0x8FB10014 ; 800C56D0
dw 0x8FB00010 ; 800C56D4
dw 0x03E00008 ; 800C56D8
dw 0x27BD0020 ; 800C56DC

View File

@ -98,7 +98,6 @@ def ninja_run():
r'blur\.c:\d+: warning: unused variable `pad2\'',
r'blur\.c:\d+: warning: unused variable `pad3\'',
r'rcm2\.c:\d+: warning: unused variable `mat\'',
r'movie\.c:\d+: warning: `movie_unused\' defined but not used',
]
if os.environ.get('APPVEYOR'):

View File

@ -2118,8 +2118,9 @@ overlay_bss group file("{{OBJ_DIR}}\{{OVERLAY}}_{{OVERLAY_SUFFIX}}_bss.bin")
include "{{OBJ_DIR}}\overlays\ending\overlay.obj"
include "{{OBJ_DIR}}\overlays\ending\Game\movie.obj"
include "{{OBJ_DIR}}\overlays\d16e\Anime\animeconv\smoke.obj"
include "{{OBJ_DIR}}\overlays\s01a\Thing\sphere.obj"
include "{{OBJ_DIR}}\overlays\ending\Thing\sphere_bss_padding.obj"
include "{{OBJ_DIR}}\overlays\s01a\Thing\sphere.obj"
include "{{OBJ_DIR}}\overlays\ending\Thing\sphere_bss_padding2.obj"
include "{{OBJ_DIR}}\overlays\s00a\Enemy\asiato.obj"
include "{{OBJ_DIR}}\overlays\s20a\Enemy\demoasi.obj"
include "{{OBJ_DIR}}\overlays\d11c\Enemy\demokage.obj"
@ -2238,17 +2239,8 @@ overlay_bss group file("{{OBJ_DIR}}\{{OVERLAY}}_{{OVERLAY_SUFFIX}}_bss.bin")
{% elif OVERLAY == "roll" %}
include "{{OBJ_DIR}}\overlays\roll\overlay.obj"
include "{{OBJ_DIR}}\overlays\ending\Game\movie.obj"
include "{{OBJ_DIR}}\overlays\roll\Takabe\ed_telop.obj"
include "{{OBJ_DIR}}\overlays\roll\overlay2.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C4F18.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C4F80.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C4FB8.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C512C.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C54C4.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C54D4.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C5504.obj"
include "{{OBJ_DIR}}\overlays\roll\roll_ed_telop_800C563C.obj"
include "{{OBJ_DIR}}\overlays\s16b\unknown.obj"
include "{{OBJ_DIR}}\overlays\s16b\unknown2.obj"
include "{{OBJ_DIR}}\overlays\roll\overlay3.obj"

View File

@ -32,7 +32,6 @@ typedef struct _MovieWork
} MovieWork;
static MovieWork movie_work;
static int movie_unused;
extern int DG_FrameRate_8009D45C;
extern int DG_UnDrawFrameCount_800AB380;

View File

@ -0,0 +1,3 @@
#include "linker.h"
int SECTION("overlay.bss") sphere_bss_padding2; // FIXME...

View File

@ -0,0 +1,292 @@
#include "libgcl/libgcl.h"
#include "libgv/libgv.h"
#include "Menu/menuman.h"
typedef struct _EdTelopWork
{
GV_ACT actor;
int f20;
int f24;
int f28;
int f2C;
int f30;
int f34;
int f38;
int *f3C;
void *f40;
int proc;
} EdTelopWork;
typedef struct _EdTelopPrims
{
DR_TPAGE tpage[2];
SPRT sprt[2];
} EdTelopPrims;
RECT ed_telop_rect_800C3230 = {0, 256, 320, 1};
RECT ed_telop_rect_800C3238 = {0, 256, 320, 160};
unsigned short ed_telop_hashes_800C3240[] = {0x29B9};
static EdTelopPrims ed_telop_prims_800C9BC8[2];
static u_long ed_telop_800C9C38[160];
extern int DG_UnDrawFrameCount_800AB380;
extern int GM_GameStatus_800AB3CC;
extern int GV_Clock_800AB920;
int THING_Gcl_GetInt(int);
int THING_Gcl_GetIntDefault(int, int);
int THING_Msg_CheckMessage(unsigned short name, int hash_count, unsigned short *hashes);
char * roll_ending2_800C5E54(void *, char *, int);
void roll_ending2_800C5EAC(short *, void *, void *, int);
#define EXEC_LEVEL 5
int EdTelop_800C4F18(void)
{
char *str;
if (!GCL_GetOption_80020968('s'))
{
return 1;
}
str = GCL_Read_String_80020A70(GCL_Get_Param_Result_80020AA4());
if (GCL_GetOption_80020968('t'))
{
menu_JimakuWrite_800494E8(str, GCL_GetNextParamValue_80020AD4());
}
return 1;
}
void EdTelop_800C4F80(void)
{
u_long *ptr;
int i;
ptr = ed_telop_800C9C38;
for (i = 160; i > 0; i -= 4)
{
ptr[3] = 0;
ptr[2] = 0;
ptr[1] = 0;
ptr[0] = 0;
ptr += 4;
}
}
void * EdTelop_800C4FB8(short *arg0, int arg1)
{
RECT rect;
char *ptr;
int x, y;
int off;
void *scratch;
int i;
ClearImage(&ed_telop_rect_800C3238, 0, 0, 0);
ptr = (char *)(arg0 + 20);
EdTelop_800C4F80();
x = arg0[0];
y = arg0[1];
rect = ed_telop_rect_800C3230;
off = (320 - x) / 2;
rect.y += (160 - y) / 2;
scratch = (void *)0x1F800000;
for (i = arg0[1]; i > 0; i--)
{
if (!(*ptr & 0x40))
{
ptr = roll_ending2_800C5E54(scratch, ptr, arg0[0] / 2);
roll_ending2_800C5EAC((short *)ed_telop_800C9C38 + off, scratch, arg0 + 2, arg0[0]);
DrawSync(0);
LoadImage2(&rect, ed_telop_800C9C38);
}
else
{
ptr++;
}
rect.y++;
}
return (char *)arg0 + 40 + *(int *)(arg0 + 18);
}
void EdTelop_800C512C(SPRT *sprt, DR_TPAGE *tpage, char *ot, int color)
{
setSprt(sprt);
setRGB0(sprt, color, color, color);
setXY0(sprt, 0, 24);
setUV0(sprt, 0, 0);
setWH(sprt, 256, 160);
addPrim(ot, sprt);
addPrim(ot, tpage);
tpage++;
sprt++;
setSprt(sprt);
setRGB0(sprt, color, color, color);
setXY0(sprt, 256, 24);
setUV0(sprt, 0, 0);
setWH(sprt, 64, 160);
addPrim(ot, sprt);
addPrim(ot, tpage);
}
void EdTelopAct_800C525C(EdTelopWork *work)
{
EdTelopPrims *prims;
DR_TPAGE *tpage;
SPRT *sprt;
char *ot;
int val;
prims = &ed_telop_prims_800C9BC8[GV_Clock_800AB920];
ot = DG_ChanlOTag(1);
sprt = prims->sprt;
tpage = prims->tpage;
val = 0;
switch (work->f24)
{
case 0:
work->f40 = EdTelop_800C4FB8(work->f40, 0);
work->f24 = 1;
work->f2C = work->f30;
break;
case 1:
EdTelop_800C512C(sprt, tpage, ot, 192 - (--work->f2C * 192) / work->f30);
if (work->f2C <= 0)
{
work->f24 = 2;
work->f2C = work->f34;
}
break;
case 2:
work->f2C--;
EdTelop_800C512C(sprt, tpage, ot, 192);
if (work->f2C <= 0 && work->f34 != -1)
{
val = 1;
}
switch (THING_Msg_CheckMessage(work->f20, 1, ed_telop_hashes_800C3240))
{
case 0:
val = 1;
break;
case 1:
break;
}
if (val != 0)
{
work->f24 = 3;
work->f2C = work->f30;
}
break;
case 3:
EdTelop_800C512C(sprt, tpage, ot, (--work->f2C * 192) / work->f30);
if (work->f2C <= 0)
{
if (++work->f28 >= *work->f3C)
{
work->f24 = -1;
}
else
{
work->f24 = 4;
work->f2C = 15;
}
}
break;
case 4:
if (--work->f2C <= 0)
{
work->f24 = 0;
}
break;
case -1:
ClearImage(&ed_telop_rect_800C3238, 0, 0, 0);
GV_DestroyActor_800151C8(&work->actor);
break;
}
}
void EdTelopDie_800C54D4(EdTelopWork* work)
{
if (work->proc != 0)
{
GCL_ExecProc_8001FF2C(work->proc, NULL);
}
}
void EdTelopGetResources_800C5504(EdTelopWork *work)
{
char *data;
int tp0, tp1;
int i;
ClearImage(&ed_telop_rect_800C3238, 0, 0, 0);
GM_GameStatus_800AB3CC |= 0x104A2000;
DG_UnDrawFrameCount_800AB380 = 1;
data = GV_GetCache_8001538C(GV_CacheID_800152DC(work->f38, 'r'));
work->f3C = (int *)data;
work->f40 = data + 4;
work->f28 = 0;
tp0 = getTPage(2, 0, ed_telop_rect_800C3230.x, ed_telop_rect_800C3230.y);
tp1 = getTPage(2, 0, ed_telop_rect_800C3230.x + 256, ed_telop_rect_800C3230.y);
for (i = 0; i < 2; i++)
{
setDrawTPage(&ed_telop_prims_800C9BC8[i].tpage[0], 0, 0, tp0);
setDrawTPage(&ed_telop_prims_800C9BC8[i].tpage[1], 0, 0, tp1);
}
}
GV_ACT * NewEdTelop_800C563C(int arg0)
{
EdTelopWork *work;
work = (EdTelopWork *)GV_NewActor_800150E4(EXEC_LEVEL, sizeof(EdTelopWork));
if (work != NULL)
{
GV_SetNamedActor_8001514C(&work->actor, (TActorFunction)EdTelopAct_800C525C, (TActorFunction)EdTelopDie_800C54D4, "ed_telop.c");
work->f20 = arg0;
work->proc = THING_Gcl_GetInt('p');
work->f30 = THING_Gcl_GetIntDefault('f', 30);
work->f34 = THING_Gcl_GetIntDefault('d', 150);
work->f38 = THING_Gcl_GetInt('t');
EdTelopGetResources_800C5504(work);
}
return &work->actor;
}

View File

@ -1,10 +1,5 @@
#include "linker.h"
int roll_dword_800C3230 = 0x01000000;
int roll_dword_800C3234 = 0x00010140;
int roll_dword_800C3238 = 0x01000000;
int roll_dword_800C323C = 0x00A00140;
int roll_dword_800C3240 = 0x000029B9;
int roll_dword_800C3244 = 0x00FF0000;
int roll_dword_800C3248 = 0x00010010;
int roll_dword_800C324C = 0x00000280;
@ -62,14 +57,6 @@ int roll_dword_800C3318 = 0x00004BA6;
int roll_dword_800C331C = 0x00004D11;
int roll_dword_800C3320 = 0xFFFFFFFF;
const int roll_dword_800C9A90 = 0x800C54A0;
const int roll_dword_800C9A94 = 0x800C52E0;
const int roll_dword_800C9A98 = 0x800C52FC;
const int roll_dword_800C9A9C = 0x800C5370;
const int roll_dword_800C9AA0 = 0x800C53E4;
const int roll_dword_800C9AA4 = 0x800C5484;
const char roll_aEdtelopc_800C9AA8[] = "ed_telop.c";
const char roll_aMovied_800C9AB4[] = "MOVIE %d\n";
const char roll_aNotfound_800C9AC0[] = "NOT FOUND\n";
const int roll_dword_800C9ACC = 0x800C72C0;
@ -77,195 +64,4 @@ const int roll_dword_800C9AD0 = 0x800C7300;
const int roll_dword_800C9AD4 = 0x800C74E8;
const int roll_dword_800C9AD8 = 0x800C752C;
const int roll_dword_800C9ADC = 0x800C7554;
const char roll_dword_800C9AE0[] = {'e', 'n', 'd', 'i'};
const char roll_dword_800C9AE4[] = {'n', 'g', '2', '.'};
const char roll_dword_800C9AE8[] = {'c', 0x0, 0x98, 0xa0};
int SECTION("overlay.bss") roll_dword_800C9BCC;
int SECTION("overlay.bss") roll_dword_800C9BD0;
int SECTION("overlay.bss") roll_dword_800C9BD4;
int SECTION("overlay.bss") roll_dword_800C9BD8;
int SECTION("overlay.bss") roll_dword_800C9BDC;
int SECTION("overlay.bss") roll_dword_800C9BE0;
int SECTION("overlay.bss") roll_dword_800C9BE4;
int SECTION("overlay.bss") roll_dword_800C9BE8;
int SECTION("overlay.bss") roll_dword_800C9BEC;
int SECTION("overlay.bss") roll_dword_800C9BF0;
int SECTION("overlay.bss") roll_dword_800C9BF4;
int SECTION("overlay.bss") roll_dword_800C9BF8;
int SECTION("overlay.bss") roll_dword_800C9BFC;
int SECTION("overlay.bss") roll_dword_800C9C00;
int SECTION("overlay.bss") roll_dword_800C9C04;
int SECTION("overlay.bss") roll_dword_800C9C08;
int SECTION("overlay.bss") roll_dword_800C9C0C;
int SECTION("overlay.bss") roll_dword_800C9C10;
int SECTION("overlay.bss") roll_dword_800C9C14;
int SECTION("overlay.bss") roll_dword_800C9C18;
int SECTION("overlay.bss") roll_dword_800C9C1C;
int SECTION("overlay.bss") roll_dword_800C9C20;
int SECTION("overlay.bss") roll_dword_800C9C24;
int SECTION("overlay.bss") roll_dword_800C9C28;
int SECTION("overlay.bss") roll_dword_800C9C2C;
int SECTION("overlay.bss") roll_dword_800C9C30;
int SECTION("overlay.bss") roll_dword_800C9C34;
int SECTION("overlay.bss") roll_dword_800C9C38;
int SECTION("overlay.bss") roll_dword_800C9C3C;
int SECTION("overlay.bss") roll_dword_800C9C40;
int SECTION("overlay.bss") roll_dword_800C9C44;
int SECTION("overlay.bss") roll_dword_800C9C48;
int SECTION("overlay.bss") roll_dword_800C9C4C;
int SECTION("overlay.bss") roll_dword_800C9C50;
int SECTION("overlay.bss") roll_dword_800C9C54;
int SECTION("overlay.bss") roll_dword_800C9C58;
int SECTION("overlay.bss") roll_dword_800C9C5C;
int SECTION("overlay.bss") roll_dword_800C9C60;
int SECTION("overlay.bss") roll_dword_800C9C64;
int SECTION("overlay.bss") roll_dword_800C9C68;
int SECTION("overlay.bss") roll_dword_800C9C6C;
int SECTION("overlay.bss") roll_dword_800C9C70;
int SECTION("overlay.bss") roll_dword_800C9C74;
int SECTION("overlay.bss") roll_dword_800C9C78;
int SECTION("overlay.bss") roll_dword_800C9C7C;
int SECTION("overlay.bss") roll_dword_800C9C80;
int SECTION("overlay.bss") roll_dword_800C9C84;
int SECTION("overlay.bss") roll_dword_800C9C88;
int SECTION("overlay.bss") roll_dword_800C9C8C;
int SECTION("overlay.bss") roll_dword_800C9C90;
int SECTION("overlay.bss") roll_dword_800C9C94;
int SECTION("overlay.bss") roll_dword_800C9C98;
int SECTION("overlay.bss") roll_dword_800C9C9C;
int SECTION("overlay.bss") roll_dword_800C9CA0;
int SECTION("overlay.bss") roll_dword_800C9CA4;
int SECTION("overlay.bss") roll_dword_800C9CA8;
int SECTION("overlay.bss") roll_dword_800C9CAC;
int SECTION("overlay.bss") roll_dword_800C9CB0;
int SECTION("overlay.bss") roll_dword_800C9CB4;
int SECTION("overlay.bss") roll_dword_800C9CB8;
int SECTION("overlay.bss") roll_dword_800C9CBC;
int SECTION("overlay.bss") roll_dword_800C9CC0;
int SECTION("overlay.bss") roll_dword_800C9CC4;
int SECTION("overlay.bss") roll_dword_800C9CC8;
int SECTION("overlay.bss") roll_dword_800C9CCC;
int SECTION("overlay.bss") roll_dword_800C9CD0;
int SECTION("overlay.bss") roll_dword_800C9CD4;
int SECTION("overlay.bss") roll_dword_800C9CD8;
int SECTION("overlay.bss") roll_dword_800C9CDC;
int SECTION("overlay.bss") roll_dword_800C9CE0;
int SECTION("overlay.bss") roll_dword_800C9CE4;
int SECTION("overlay.bss") roll_dword_800C9CE8;
int SECTION("overlay.bss") roll_dword_800C9CEC;
int SECTION("overlay.bss") roll_dword_800C9CF0;
int SECTION("overlay.bss") roll_dword_800C9CF4;
int SECTION("overlay.bss") roll_dword_800C9CF8;
int SECTION("overlay.bss") roll_dword_800C9CFC;
int SECTION("overlay.bss") roll_dword_800C9D00;
int SECTION("overlay.bss") roll_dword_800C9D04;
int SECTION("overlay.bss") roll_dword_800C9D08;
int SECTION("overlay.bss") roll_dword_800C9D0C;
int SECTION("overlay.bss") roll_dword_800C9D10;
int SECTION("overlay.bss") roll_dword_800C9D14;
int SECTION("overlay.bss") roll_dword_800C9D18;
int SECTION("overlay.bss") roll_dword_800C9D1C;
int SECTION("overlay.bss") roll_dword_800C9D20;
int SECTION("overlay.bss") roll_dword_800C9D24;
int SECTION("overlay.bss") roll_dword_800C9D28;
int SECTION("overlay.bss") roll_dword_800C9D2C;
int SECTION("overlay.bss") roll_dword_800C9D30;
int SECTION("overlay.bss") roll_dword_800C9D34;
int SECTION("overlay.bss") roll_dword_800C9D38;
int SECTION("overlay.bss") roll_dword_800C9D3C;
int SECTION("overlay.bss") roll_dword_800C9D40;
int SECTION("overlay.bss") roll_dword_800C9D44;
int SECTION("overlay.bss") roll_dword_800C9D48;
int SECTION("overlay.bss") roll_dword_800C9D4C;
int SECTION("overlay.bss") roll_dword_800C9D50;
int SECTION("overlay.bss") roll_dword_800C9D54;
int SECTION("overlay.bss") roll_dword_800C9D58;
int SECTION("overlay.bss") roll_dword_800C9D5C;
int SECTION("overlay.bss") roll_dword_800C9D60;
int SECTION("overlay.bss") roll_dword_800C9D64;
int SECTION("overlay.bss") roll_dword_800C9D68;
int SECTION("overlay.bss") roll_dword_800C9D6C;
int SECTION("overlay.bss") roll_dword_800C9D70;
int SECTION("overlay.bss") roll_dword_800C9D74;
int SECTION("overlay.bss") roll_dword_800C9D78;
int SECTION("overlay.bss") roll_dword_800C9D7C;
int SECTION("overlay.bss") roll_dword_800C9D80;
int SECTION("overlay.bss") roll_dword_800C9D84;
int SECTION("overlay.bss") roll_dword_800C9D88;
int SECTION("overlay.bss") roll_dword_800C9D8C;
int SECTION("overlay.bss") roll_dword_800C9D90;
int SECTION("overlay.bss") roll_dword_800C9D94;
int SECTION("overlay.bss") roll_dword_800C9D98;
int SECTION("overlay.bss") roll_dword_800C9D9C;
int SECTION("overlay.bss") roll_dword_800C9DA0;
int SECTION("overlay.bss") roll_dword_800C9DA4;
int SECTION("overlay.bss") roll_dword_800C9DA8;
int SECTION("overlay.bss") roll_dword_800C9DAC;
int SECTION("overlay.bss") roll_dword_800C9DB0;
int SECTION("overlay.bss") roll_dword_800C9DB4;
int SECTION("overlay.bss") roll_dword_800C9DB8;
int SECTION("overlay.bss") roll_dword_800C9DBC;
int SECTION("overlay.bss") roll_dword_800C9DC0;
int SECTION("overlay.bss") roll_dword_800C9DC4;
int SECTION("overlay.bss") roll_dword_800C9DC8;
int SECTION("overlay.bss") roll_dword_800C9DCC;
int SECTION("overlay.bss") roll_dword_800C9DD0;
int SECTION("overlay.bss") roll_dword_800C9DD4;
int SECTION("overlay.bss") roll_dword_800C9DD8;
int SECTION("overlay.bss") roll_dword_800C9DDC;
int SECTION("overlay.bss") roll_dword_800C9DE0;
int SECTION("overlay.bss") roll_dword_800C9DE4;
int SECTION("overlay.bss") roll_dword_800C9DE8;
int SECTION("overlay.bss") roll_dword_800C9DEC;
int SECTION("overlay.bss") roll_dword_800C9DF0;
int SECTION("overlay.bss") roll_dword_800C9DF4;
int SECTION("overlay.bss") roll_dword_800C9DF8;
int SECTION("overlay.bss") roll_dword_800C9DFC;
int SECTION("overlay.bss") roll_dword_800C9E00;
int SECTION("overlay.bss") roll_dword_800C9E04;
int SECTION("overlay.bss") roll_dword_800C9E08;
int SECTION("overlay.bss") roll_dword_800C9E0C;
int SECTION("overlay.bss") roll_dword_800C9E10;
int SECTION("overlay.bss") roll_dword_800C9E14;
int SECTION("overlay.bss") roll_dword_800C9E18;
int SECTION("overlay.bss") roll_dword_800C9E1C;
int SECTION("overlay.bss") roll_dword_800C9E20;
int SECTION("overlay.bss") roll_dword_800C9E24;
int SECTION("overlay.bss") roll_dword_800C9E28;
int SECTION("overlay.bss") roll_dword_800C9E2C;
int SECTION("overlay.bss") roll_dword_800C9E30;
int SECTION("overlay.bss") roll_dword_800C9E34;
int SECTION("overlay.bss") roll_dword_800C9E38;
int SECTION("overlay.bss") roll_dword_800C9E3C;
int SECTION("overlay.bss") roll_dword_800C9E40;
int SECTION("overlay.bss") roll_dword_800C9E44;
int SECTION("overlay.bss") roll_dword_800C9E48;
int SECTION("overlay.bss") roll_dword_800C9E4C;
int SECTION("overlay.bss") roll_dword_800C9E50;
int SECTION("overlay.bss") roll_dword_800C9E54;
int SECTION("overlay.bss") roll_dword_800C9E58;
int SECTION("overlay.bss") roll_dword_800C9E5C;
int SECTION("overlay.bss") roll_dword_800C9E60;
int SECTION("overlay.bss") roll_dword_800C9E64;
int SECTION("overlay.bss") roll_dword_800C9E68;
int SECTION("overlay.bss") roll_dword_800C9E6C;
int SECTION("overlay.bss") roll_dword_800C9E70;
int SECTION("overlay.bss") roll_dword_800C9E74;
int SECTION("overlay.bss") roll_dword_800C9E78;
int SECTION("overlay.bss") roll_dword_800C9E7C;
int SECTION("overlay.bss") roll_dword_800C9E80;
int SECTION("overlay.bss") roll_dword_800C9E84;
int SECTION("overlay.bss") roll_dword_800C9E88;
int SECTION("overlay.bss") roll_dword_800C9E8C;
int SECTION("overlay.bss") roll_dword_800C9E90;
int SECTION("overlay.bss") roll_dword_800C9E94;
int SECTION("overlay.bss") roll_dword_800C9E98;
int SECTION("overlay.bss") roll_dword_800C9E9C;
int SECTION("overlay.bss") roll_dword_800C9EA0;
int SECTION("overlay.bss") roll_dword_800C9EA4;
int SECTION("overlay.bss") roll_dword_800C9EA8;
int SECTION("overlay.bss") roll_dword_800C9EAC;
int SECTION("overlay.bss") roll_dword_800C9EB0;
int SECTION("overlay.bss") roll_dword_800C9EB4;
const char roll_dword_800C9AE0[] = "ending2.c";

Binary file not shown.