forked from ssrando/ssrando
-
Notifications
You must be signed in to change notification settings - Fork 1
/
eventpatches.yaml
3107 lines (3106 loc) · 76.7 KB
/
eventpatches.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
002-System:
- name: File Progress Text 0
type: textpatch
index: 78
text: "Search the land and skies for the <y<Goddess's Harp>>."
- name: File Progress Text 1
type: textpatch
index: 79
text: "Show the Goddess's Harp to Impa at the\n<b<Sealed Temple>>."
# See gamepatches for File Progress Text 2
- name: File Progress Text 3
type: textpatch
index: 81
text: "Find and complete the <r<required dungeons>>."
- name: File Progress Text 4
type: textpatch
index: 82
text: "Find and complete the <r<required dungeons>>."
- name: File Progress Text 5
type: textpatch
index: 83
text: "Find and complete the <r<required dungeons>>."
- name: File Progress Text 6
type: textpatch
index: 84
text: "Find and complete the <r<required dungeons>>."
- name: File Progress Text 7
type: textpatch
index: 85
text: "Find and complete the <r<required dungeons>>."
- name: File Progress Text 8
type: textpatch
index: 86
text: "Find and complete the <r<required dungeons>>."
- name: File Progress Text 9
type: textpatch
index: 87
text: "Use your sword to activate the <r<Gate of Time>>."
- name: File Progress Text 10
type: textpatch
index: 88
text: "Seal away the mysterious monster at the bottom\nof the <b<Sealed Grounds>>."
- name: File Progress Text 11
type: textpatch
index: 89
text: "Hit the Gate of Time with a Skyward Strike and\ntravel to the world of the past."
- name: File Progress Text 12
type: textpatch
index: 90
text: "Search for the three parts of the <y<Triforce>>."
- name: File Progress Text 13
type: textpatch
index: 91
text: "Travel to the world of the past and defeat\n<r<The Horde>>."
- name: File Progress Text 14
type: textpatch
index: 92
text: "Travel to the world of the past and defeat\n<r<Ghirahim>>."
- name: File Progress Text 15
type: textpatch
index: 93
text: "Travel to the world of the past and defeat the\nrevived <r<Demise>>."
003-ItemGet:
- name: Scrapper Entry
type: entryadd
entry:
name: "003_215"
value: Show Scrapper Item Get Text
- name: Scrapper Item Get Text
type: textadd
unk1: 5
unk2: 1
text: "You found Gondo's robot, <y<Scrapper>>!
\n\n\n\nBe sure to take care of him...\neven if he's a little mean."
- name: Show Scrapper Item Get Text
type: flowadd
flow:
type: type1
next: Give Scrapper Storyflag
param3: 3
param4: Scrapper Item Get Text
- name: Give Scrapper Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 323 # Scrapper Storyflag
next: -1
param3: 0
- name: Tadtone Entry
type: entryadd
entry:
name: "003_214"
value: Increment Tadtone Counter
- name: Increment Tadtone Counter
type: flowadd
flow:
type: type3
next: Check for all Tadtones
param1: 953 # flag
param2: 1 # increment counter
param3: 74 # custom command: increment tadtone group counter
- name: Check for all Tadtones
type: flowadd
flow:
type: type3
next: Switch for all Tadtones
param1: 0
param2: 0
param3: 75 # custom command: get tadtones groups remaining
- name: Switch for all Tadtones
type: switchadd
flow:
subType: 6
param2: 0
param3: 7 # use result from previous check
cases:
- Show all Tadtones Collected text
- Show some Tadtones Collected text
- name: Some Tadtones Collected text
type: textadd
unk1: 5
unk2: 1
text: "You got a group of <y<Tadtones>>!\nOnly <r<<numeric arg0> >> left to find!"
- name: Show some Tadtones Collected text
type: flowadd
flow:
type: type1
next: -1
param3: 3
param4: Some Tadtones Collected text
- name: All Tadtones Collected text
type: textadd
unk1: 5
unk2: 1
text: "You got the last group of <y<Tadtones>>!\nYou found every last one of them!
\n\n\nHurry to <b<Flooded Faron Woods>> and talk\nto the <r<Water Dragon>> to claim your\nreward."
- name: Show all Tadtones Collected text
type: flowadd
flow:
type: type1
next: -1
param3: 3
param4: All Tadtones Collected text
- name: Spiral Charge Text
type: textpatch
index: 27
text: "You learned the <y<Spiral Charge>>!"
- name: Change Spiral Charge Scene change
type: flowpatch
index: 584 # change it to give Spiral Charge Storyflag
flow:
subType: 0
param1: 0
param2: 364
param3: 0
- name: Remove Goddess Sword Scene change
type: flowpatch
index: 462 # skip scene change after getting goddess sword
flow:
next: -1
- name: Remove bipping after practice sword
type: flowpatch
index: 383
flow:
next: -1
- name: Remove Triforce of Wisdom Scene change (1st part)
type: flowpatch
index: 531
flow:
next: -1
- name: Remove Triforce of Wisdom Scene change (2nd part)
type: flowpatch
index: 532
flow:
next: -1
- name: Remove Triforce of Courage Scene change (1st part)
type: flowpatch
index: 534
flow:
next: -1
- name: Remove Triforce of Courage Scene change (2nd part)
type: flowpatch
index: 535
flow:
next: -1
- name: Remove Triforce of Power Scene change (1st part)
type: flowpatch
index: 536
flow:
next: -1
- name: Remove Triforce of Power Scene change (2nd part)
type: flowpatch
index: 537
flow:
next: -1
- name: Give Dowsings after Whitesword
type: flowpatch
onlyif: Option "dowsing-after-whitesword" Enabled
index: 542
flow:
next: Rupee Dowsing
- name: Rupee Dowsing
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 105 # Rupee Dowsing
next: Crystal Dowsing
param3: 0
- name: Crystal Dowsing
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 104 # Crystal Dowsing
next: Treasure Dowsing
param3: 0
- name: Treasure Dowsing
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 102 # Treasure Dowsing
next: Goddess Cube Dowsing
param3: 0
- name: Goddess Cube Dowsing
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 110 # Goddess Cube Dowsing
next: Open Dowsing Wheel
param3: 0
- name: Open Dowsing Wheel
type: flowadd
flow:
type: type3
subType: 6
param1: 0
param2: 19 # Crystal blinks
next: -1
param3: 56
- name: Goddess Longsword Text
type: textpatch
index: 16
text: "You got the <y<Goddess Longsword>>!\nThe flames of Farore have improved your\nsword, making it longer and sharp enough\nto do twice as much damage!"
- name: Goddess White Sword Text
type: textpatch
index: 12
text: "You got the <y<Goddess White Sword>>!\nThe flames of Nayru have transformed\nyour blade, expanding Fi's powers.\n\nShe can now help you use your <r<dowsing>>\nability to search for more objects!"
- name: Master Sword Text
type: textpatch
index: 17
text: "You got the <y<Master Sword>>!\nThe flames of Din have imbued your\nblade with a sacred white light that\ndemons revile."
- name: True Master Sword Text
type: textpatch
index: 19
text: "You got the <y<True Master Sword>>!\nThe goddess has blessed your blade, and\nthe Master Sword has at last achieved its\nultimate form!"
- name: Harp Text
type: textpatch
index: 21
text: "You got the <y<Goddess's Harp>>!\nBut there's no time to admire it!"
- name: Emerald Tablet text
type: textpatch
index: 227
text: "You got the <y<Emerald Tablet>>!\nThe weathered surface of this heavy stone\ntablet feels very old."
- name: Ruby Tablet text
type: textpatch
index: 228
text: "You got the <y<Ruby Tablet>>!\nThe weathered surface of this heavy stone\ntablet feels very old."
- name: Amber Tablet text
type: textpatch
index: 229
text: "You got the <y<Amber Tablet>>!\nThe weathered surface of this heavy stone\ntablet feels very old."
- name: Farore's Courage Text
type: textpatch
index: 237
text: "You learned <y<Farore's Courage>>!"
- name: Nayru's Wisdom Text
type: textpatch
index: 238
text: "You learned <y<Nayru's Wisdom>>!"
- name: Din's Power Text
type: textpatch
index: 239
text: "You learned <y<Din's Power>>!"
- name: Faron SotH text
type: textpatch
index: 240
text: "You learned the <y<Water Dragon's Song>>!\nThis is a part of the <y<Song of the Hero>>!"
- name: Eldin SotH text
type: textpatch
index: 241
text: "You learned the <y<Fire Dragon's Song>>!\nThis is a part of the <y<Song of the Hero>>!"
- name: Lanayru SotH text
type: textpatch
index: 242
text: "You learned the <y<Thunder Dragon's Song>>!\nThis is a part of the <y<Song of the Hero>>!"
- name: Full SotH text
type: textpatch
index: 243
text: "The <y<Song of the Hero>> is now complete!"
- name: Single Gratitude crystal counter
type: textpatch
index: 45 # \x0e\x02\x03\x06\x00\x00\xcd is for showing numeric arg0
text: "You got <r<five>> <y<Gratitude Crystals>>!\nThat is <r<<numeric arg1> >>in Total!"
- name: Single Gratitude crystal counter
type: textpatch
index: 62 # \x0e\x02\x03\x06\x00\x00\xcd is for showing numeric arg0
text: "You got <r<one>> <y<Gratitude Crystal>>!\nThat is <r<<numeric arg1> >>in Total!"
- name: Zelda dowsing in Key Piece
type: flowpatch
index: 677
flow:
next: -1
- name: remove BotG Scene Change # also goes to open thunderhead
type: flowpatch
index: 464
flow:
next: BotG opens Thunderhead
- name: BotG opens Thunderhead
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 194
next: -1
param3: 0
- name: get rid of Skyloft layer 8&9
type: flowpatch
index: 540 # before storyflag
flow:
next: -1 # after Storyflag
- name: Go to Harp Storyflag
type: flowpatch
index: 71
flow:
next: Goddess's Harp Storyflag
- name: Goddess's Harp Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 9
next: Groose lands in Faron Storyflag
param3: 0
- name: Groose lands in Faron Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 140
next: -1
param3: 0
- name: Go to Letter Storyflag
type: flowpatch
index: 377
flow:
next: Letter Storyflag
- name: Letter Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 547
next: -1
param3: 0
- name: Go to Horned Colossus Beetle Storyflag
type: flowpatch
index: 380
flow:
next: Horned Colossus Beetle Storyflag
- name: Horned Colossus Beetle Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 476
next: -1
param3: 0
# full SotH will be given once all 3 Parts are collected
- name: For Faron To Check Full SotH
type: flowpatch
index: 472
flow:
next: Check Faron SotH 1
- name: For Eldin To Check Full SotH
type: flowpatch
index: 471
flow:
next: Check Faron SotH 1
- name: For Lanayru To Check Full SotH
type: flowpatch
index: 475
flow:
next: Check Faron SotH 1
- name: Check Faron SotH 1
type: flowadd
flow:
type: type3
subType: 1
param1: 190 # item id
param2: 1 # seems to be some count, always 1 for items
next: Check Faron SotH 2
param3: 23 # check_item_flag command, result is carried to next switch
- name: Check Faron SotH 2
type: switchadd
flow:
subType: 6
param2: 0
param3: 7 # use result from previous chck
cases:
- Check Eldin SotH 1 # true
- -1 # false
- name: Check Eldin SotH 1
type: flowadd
flow:
type: type3
subType: 1
param1: 191 # item id
param2: 1 # seems to be some count, always 1 for items
next: Check Eldin SotH 2
param3: 23 # check_item_flag command, result is carried to next switch
- name: Check Eldin SotH 2
type: switchadd
flow:
subType: 6
param2: 0
param3: 7 # use result from previous chck
cases:
- Check Lanayru SotH 1 # true
- -1 # false
- name: Check Lanayru SotH 1
type: flowadd
flow:
type: type3
subType: 1
param1: 192 # item id
param2: 1 # seems to be some count, always 1 for items
next: Check Lanayru SotH 2
param3: 23 # check_item_flag command, result is carried to next switch
- name: Check Lanayru SotH 2
type: switchadd
flow:
subType: 6
param2: 0
param3: 7 # use result from previous chck
cases:
- Give full SotH # true
- -1 # false
- name: Give full SotH
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 193 # item
param3: 9
next: 477 # to full SotH text
- name: To Set Adventure Pouch Storyflag
type: flowpatch
index: 603
flow:
next: Set Adventure Pouch Storyflag
- name: Set Adventure Pouch Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 30 # adventure pouch unlocked
next: -1
param3: 0
- name: To Set Adventure Pouch counter
type: flowpatch
index: 604
flow:
next: Add pouch slot
- name: Add pouch slot
type: flowadd
flow:
type: type3
subType: 1
param1: 490 # counterindex
param2: 1 # count
next: -1
param3: 25 # add to counter command
- name: To Set Faron Pillar Storyflag
type: flowpatch
index: 385
flow:
next: Set Faron Pillar Storyflag
- name: Set Faron Pillar Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 46 # Faron Pillar
next: -1
param3: 0
- name: To Set Eldin Pillar Storyflag
type: flowpatch
index: 384
flow:
next: Set Eldin Pillar Storyflag
- name: Set Eldin Pillar Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 47 # Eldin Pillar
next: -1
param3: 0
- name: To Set Lanayru Pillar Storyflag
type: flowpatch
index: 389
flow:
next: Set Lanayru Pillar Storyflag
- name: Set Lanayru Pillar Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 48 # Lanayru Pillar
next: -1
param3: 0
- name: Always same Bomb text
type: flowpatch
index: 180
flow:
next: 161
- name: To Fill Bombs
type: flowpatch
index: 161
flow:
next: Fill Bombs
- name: Fill Bombs
type: flowadd
flow:
type: type3
subType: 1
param1: 499 # counterindex
param2: 10 # count
next: 414
param3: 25 # add to counter command
- name: Sea Chart unlocks Ship Dowsing
type: flowpatch
index: 528
flow:
next: Sea Chart dowsing
- name: Sea Chart dowsing
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 271 # Ship Dowsing
next: Open Dowsing wheel
param3: 0
- name: Open Dowsing wheel
type: flowadd
flow:
type: type3
subType: 6
param1: 0
param2: 7
next: -1
param3: 56
- name: Remove open map demo after dungeon map
type: flowpatch
index: 613
flow:
next: -1
- name: Remove bipping after getting slingshot
type: flowpatch
index: 520
flow:
next: -1
- name: Patch Medium Wallet
onlyif: Option "full-wallet-upgrades" Enabled
type: flowpatch
index: 246
flow:
next: Fill Medium Wallet
- name: Fill Medium Wallet
type: flowadd
flow:
type: type3
subType: 1
param1: 0
param2: 200 # Rupees to add
next: -1
param3: 8 # Increase rupee count
- name: Patch Big Wallet
onlyif: Option "full-wallet-upgrades" Enabled
type: flowpatch
index: 245
flow:
next: Fill Big Wallet
- name: Fill Big Wallet
type: flowadd
flow:
type: type3
subType: 1
param1: 0
param2: 500 # Rupees to add
next: -1
param3: 8 # Increase rupee count
- name: Patch Giant Wallet
onlyif: Option "full-wallet-upgrades" Enabled
type: flowpatch
index: 244
flow:
next: Fill Giant Wallet
- name: Fill Giant Wallet
type: flowadd
flow:
type: type3
subType: 1
param1: 0
param2: 4000 # Rupees to add
next: -1
param3: 8 # Increase rupee count
- name: Patch Tycoon Wallet
onlyif: Option "full-wallet-upgrades" Enabled
type: flowpatch
index: 255
flow:
next: Fill Tycoon Wallet
- name: Fill Tycoon Wallet
type: flowadd
flow:
type: type3
subType: 1
param1: 0
param2: 4000 # Rupees to add
next: -1
param3: 8 # Increase rupee count
- name: Patch Extra Wallets
onlyif: Option "full-wallet-upgrades" Enabled
type: flowpatch
index: 497
flow:
next: Fill Extra Wallets
- name: Fill Extra Wallets
type: flowadd
flow:
type: type3
subType: 1
param1: 0
param2: 300 # Rupees to add
next: -1
param3: 8 # Increase rupee count
# - name: Patch Water Dragon Scale item get when floria gates are open
# onlyif: Option "open-lake-floria" Is "Open"
# type: flowpatch
# index: 500
# flow:
# next: Open Lake Floria Doors when getting Water Dragon Scale 1
# - name: Open Lake Floria Doors when getting Water Dragon Scale 1
# onlyif: Option "open-lake-floria" Is "Open"
# type: flowadd
# flow:
# type: type3
# subType: 1
# param1: 50 # scene flag
# param2: 1 # scene index (Faron Woods)
# next: Open Lake Floria Doors when getting Water Dragon Scale 2
# param3: 2
# - name: Open Lake Floria Doors when getting Water Dragon Scale 2
# onlyif: Option "open-lake-floria" Is "Open"
# type: flowadd
# flow:
# type: type3
# subType: 1
# param1: 49 # scene flag
# param2: 1 # scene index (Faron Woods)
# next: -1
# param3: 2
004-Object:
- name: Remove Heart piece hint from gossip stone
type: flowpatch
index: 76
flow:
next: -1
- name: Force text for lower platform cave hint
type: flowpatch
index: 57
flow:
next: 56
- name: Force text for upper platform cave hint
type: flowpatch
index: 31
flow:
next: 30
006-8KenseiNormal:
- name: Show custom Fi text
type: flowpatch
index: 2
flow:
next: Display Fi Call Text
- name: Fi Call Text
type: textadd
unk1: 2 # Fi text box background
text: "You called for me, Master?\n[1]Required Dungeons[2]Information and Warp[3]Current Status[4-]Never mind."
- name: Display Fi Call Text
type: flowadd
flow:
type: type1
next: Fi Option Switch
param3: 68
param4: Fi Call Text
- name: Fi Option Switch
type: switchadd
flow:
subType: 6
param2: 0
param3: 0
cases:
- Display Fi Pre Required Dungeon Text
- Display Fi Info and Warp Text
- Display Fi Status Text
- -1 #returns
#flows for required dungeon option
- name: Fi Pre Required Dungeon Text
type: textadd
unk1: 2
text: "Your required dungeons for this\nadventure are:"
- name: Display Fi Pre Required Dungeon Text
type: flowadd
flow:
type: type1
next: Display Fi Required Dungeon Text
param3: 68
param4: Fi Pre Required Dungeon Text
- name: Display Fi Required Dungeon Text
type: flowadd
flow:
type: type1
next: -1
param3: 68
param4: Fi Required Dungeon Text
#flows for info option
- name: Fi Info and Warp Text
type: textadd
unk1: 2 # Fi text box background
text: "Yes, Master. What information do\nyou seek?\n[1]Hints[2]Warp to Start[3]Play Time[4-]Never mind."
- name: Display Fi Info and Warp Text
type: flowadd
flow:
type: type1
next: Fi Info and Warp Switch
param3: 68
param4: Fi Info and Warp Text
- name: Fi Info and Warp Switch
type: switchadd
flow:
subType: 6
param2: 0
param3: 0
cases:
- Fi Hints Command Call
- Fi Warp
- 1 #play time
- Display Fi Call Text #returns
- name: Fi Hints Command Call
type: flowadd
flow:
type: type3
next: Display Fi Hints Text 0
param1: 0
param2: 0
param3: 72 #custom command 72
- name: Fi Warp
type: flowadd
flow:
type: type3
next: -1
param3: 73 #custom command 73
#flows for status option
- name: Fi Status Text
type: textadd
unk1: 2 # Fi text box background
text: "Yes, Master. What information do\nyou seek?\n[1]Dungeon Status[2]Objective[3]Item Status[4-]Never mind."
- name: Display Fi Status Text
type: flowadd
flow:
type: type1
next: Fi Status Switch
param3: 68
param4: Fi Status Text
- name: Fi Status Switch
type: switchadd
flow:
subType: 6
param2: 0
param3: 0
cases:
- Skyview Status Values Command Call
- Display Fi Objective Text
- Item Status Command Call
- Display Fi Call Text #returns
#flow for item status option
- name: Item Status Command Call
type: flowadd
flow:
type: type3
next: Display Item Status Text
param1: 0
param2: 0
param3: 72 #custom command 72
- name: Item Status Text
type: textadd
unk1: 2
text: "<ye<Lanayru Caves Small Key>>: <string arg0>
\n<y<Spiral Charge>>: <string arg1>
\n<y<Life Tree Fruit>>: <string arg2>
\n<y<Group of Tadtones>>: <numeric arg0>"
- name: Display Item Status Text
type: flowadd
flow:
type: type1
next: -1
param3: 68
param4: Item Status Text
#flows for objective status option
- name: Fi Objective Text
type: textadd
unk1: 2 # Fi text box background
text: "Your objective is to exit the <b<Temple\nof Hylia>> in the past and defeat any\nbosses in your way.
\n\nTo do this, you need to raise and\nopen the <r<Gate of Time>> in the <b<Sealed\nTemple>>.
\n\nTo reach the <b<Sealed Temple>>, you will\nneed to find the <g<Emerald Tablet>> and\njourney to the <b<Faron Province>>.
\n\nTo raise the <r<Gate of Time>>, you must\nacquire the <y<Goddess's Harp>> and take it\nto the ancient one in the <b<Sealed\nTemple>>.
\nTo open the <r<Gate of Time>>, you must\ncomplete the required dungeons and\nobtain the <y<{required_sword}>>."
- name: Display Fi Objective Text
onlyif: Option "triforce-required" Enabled
type: flowadd
flow:
type: type1
next: Display Fi Objective Triforce Text
param3: 68
param4: Fi Objective Text
- name: Display Fi Objective Text
onlyif: Option "triforce-required" Disabled
type: flowadd
flow:
type: type1
next: -1
param3: 68
param4: Fi Objective Text
- name : Fi Objective Triforce Text
type: textadd
unk1: 2
text: "You will also need to gather the\nthree pieces of the <y+<Triforce>> to\nexit the <b<Temple of Hylia>> in the\npast."
- name: Display Fi Objective Triforce Text
type: flowadd
flow:
type: type1
next: -1
param3: 68
param4: Fi Objective Triforce Text
008-Hint:
# check for 7 storyflags: required dungeon 1 to 6, then gate of time storyflag, if all are preset, set 11 & 13 so that imp2 can be fought
- name: Rando Dungeon check
type: entryadd
entry:
name: "008_007"
value: Rando Set Zone CS Flag
- name: Rando Dungeon 1 check
type: switchadd
flow:
subType: 6
param2: 902 # Beat Required Dungeon 1
param3: 3
cases:
- Rando Dungeon 2 check
- -1
- name: Rando Dungeon 2 check
type: switchadd
flow:
subType: 6
param2: 903 # Beat Required Dungeon 2
param3: 3
cases:
- Rando Dungeon 3 check
- -1
- name: Rando Dungeon 3 check
type: switchadd
flow:
subType: 6
param2: 926 # Beat Required Dungeon 3
param3: 3
cases:
- Rando Dungeon 4 check
- -1
- name: Rando Dungeon 4 check
type: switchadd
flow:
subType: 6
param2: 927 # Beat Required Dungeon 4
param3: 3
cases:
- Rando Dungeon 5 check
- -1
- name: Rando Dungeon 5 check
type: switchadd
flow:
subType: 6
param2: 928 # Beat Required Dungeon 5
param3: 3
cases:
- Rando Dungeon 6 check
- -1
- name: Rando Dungeon 6 check
type: switchadd
flow:
subType: 6
param2: 929 # Beat Required Dungeon 6
param3: 3
cases:
- Rando GoT check
- -1
- name: Rando GoT check
type: switchadd
flow:
subType: 6
param2: 141 # Ballad of the Goddess played with impa
param3: 3
cases:
- Rando Set Rails Storyflag
- -1
# checks were successfull, imp2 can be fought now!
- name: Rando Set Rails Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 11 # make rails appear, originally AC
next: Rando Set Dungeons Completed Storyflag
param3: 0
- name: Rando Set Dungeons Completed Storyflag
type: flowadd
flow:
type: type3
subType: 0
param1: 0
param2: 13 # originally fire sanctuary
next: Rando imp 2 skip Storyflag
param3: 0
- name: Rando imp 2 skip Storyflag
type: flowadd
onlyif: Option "imp2-skip" Disabled
flow:
type: type3
subType: 0
param1: 0
param2: -1 # nothing
next: -1
param3: 0
- name: Rando imp 2 skip Storyflag
type: flowadd
onlyif: Option "imp2-skip" Enabled
flow:
type: type3
subType: 0
param1: 0
param2: 132 # Imp 2 Defeated
next: Rando imp 2 triggered story flag
param3: 0
# Used for the File Progress Text
- name: Rando imp 2 triggered story flag
type: flowadd
onlyif: Option "imp2-skip" Enabled
flow:
type: type3
subType: 0
param1: 0
param2: 144 # Imp 2 Triggered
next: -1
param3: 0
- name: Rando Set Zone CS Flag # activates the CS after dungeons, or does nothing, zone temp flag 3
type: flowadd
flow:
type: type3
subType: 1