Skip to content

Commit cf4de72

Browse files
committed
Change offsets
1 parent bfd82d4 commit cf4de72

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

worlds/ffx/items.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FFXItem(Item):
2222

2323
gilItemOffset = 0x1000
2424
normalItemOffset = 0x2000
25-
overdriveItemOffset = 0x4000
25+
overdriveItemOffset = 0x3000
2626
equipItemOffset = 0x5000
2727
trapItemOffset = 0x9000
2828
keyItemOffset = 0xA000
@@ -406,32 +406,32 @@ class FFXItem(Item):
406406
]
407407

408408
overdrive_items: list[ItemData] = [ItemData(x[0], x[1], x[2] | overdriveItemOffset) for x in [
409-
("Overdrive: Spiral Cut", ItemClassification.progression, 0x0000),
410-
("Overdrive: Slice and Dice", ItemClassification.progression, 0x0001),
411-
("Overdrive: Energy Rain", ItemClassification.progression, 0x0002),
412-
("Overdrive: Blitz Ace", ItemClassification.progression, 0x0003),
413-
("Overdrive: Shooting Star", ItemClassification.progression, 0x0004),
414-
("Overdrive: Dragon Fang", ItemClassification.progression, 0x0005),
415-
("Overdrive: Banishing Blade", ItemClassification.progression, 0x0006),
416-
("Overdrive: Tornado", ItemClassification.progression, 0x0007),
417-
("Ronso Rage: Jump", ItemClassification.progression, 0x0008),
418-
("Ronso Rage: Fire Breath", ItemClassification.progression, 0x0009),
419-
("Ronso Rage: Seed Cannon", ItemClassification.progression, 0x000A),
420-
("Ronso Rage: Self Destruct", ItemClassification.progression, 0x000B),
421-
("Ronso Rage: Thrust Kick", ItemClassification.progression, 0x000C),
422-
("Ronso Rage: Stone Breath", ItemClassification.progression, 0x000D),
423-
("Ronso Rage: Aqua Breath", ItemClassification.progression, 0x000E),
424-
("Ronso Rage: Doom", ItemClassification.progression, 0x000F),
425-
("Ronso Rage: White Wind", ItemClassification.progression, 0x0010),
426-
("Ronso Rage: Bad Breath", ItemClassification.progression, 0x0011),
427-
("Ronso Rage: Mighty Guard", ItemClassification.progression, 0x0012),
428-
("Ronso Rage: Nova", ItemClassification.progression, 0x0013),
429-
("Overdrive: Element Reels", ItemClassification.progression, 0x0014),
430-
("Overdrive: Attack Reels", ItemClassification.progression, 0x0015),
431-
("Overdrive: Status Reels", ItemClassification.progression, 0x0016),
432-
("Overdrive: Aurochs Reels", ItemClassification.progression, 0x0017),
433-
("Overdrive: Requiem", ItemClassification.progression, 0x0083),
409+
("Overdrive: Spiral Cut", ItemClassification.progression, 0x0060),
410+
("Overdrive: Slice and Dice", ItemClassification.progression, 0x0061),
411+
("Overdrive: Energy Rain", ItemClassification.progression, 0x0062),
412+
("Overdrive: Blitz Ace", ItemClassification.progression, 0x0063),
413+
("Overdrive: Shooting Star", ItemClassification.progression, 0x0064),
414+
("Overdrive: Dragon Fang", ItemClassification.progression, 0x0065),
415+
("Overdrive: Banishing Blade", ItemClassification.progression, 0x0066),
416+
("Overdrive: Tornado", ItemClassification.progression, 0x0067),
417+
("Ronso Rage: Jump", ItemClassification.progression, 0x0068),
418+
("Ronso Rage: Fire Breath", ItemClassification.progression, 0x0069),
419+
("Ronso Rage: Seed Cannon", ItemClassification.progression, 0x006A),
420+
("Ronso Rage: Self Destruct", ItemClassification.progression, 0x006B),
421+
("Ronso Rage: Thrust Kick", ItemClassification.progression, 0x006C),
422+
("Ronso Rage: Stone Breath", ItemClassification.progression, 0x006D),
423+
("Ronso Rage: Aqua Breath", ItemClassification.progression, 0x006E),
424+
("Ronso Rage: Doom", ItemClassification.progression, 0x006F),
425+
("Ronso Rage: White Wind", ItemClassification.progression, 0x0070),
426+
("Ronso Rage: Bad Breath", ItemClassification.progression, 0x0071),
427+
("Ronso Rage: Mighty Guard", ItemClassification.progression, 0x0072),
428+
("Ronso Rage: Nova", ItemClassification.progression, 0x0073),
429+
("Overdrive: Element Reels", ItemClassification.progression, 0x0074),
430+
("Overdrive: Attack Reels", ItemClassification.progression, 0x0075),
431+
("Overdrive: Status Reels", ItemClassification.progression, 0x0076),
432+
("Overdrive: Aurochs Reels", ItemClassification.progression, 0x0077),
434433
("Overdrive: Energy Blast", ItemClassification.progression, 0x00CD),
434+
("Overdrive: Requiem", ItemClassification.progression, 0x00E3),
435435
]]
436436

437437
abilities_per_character: list[ItemData] = [ ItemData(f"{character_names[character]} {ability[0]}", ItemClassification.progression, ability[1] | abilityItemOffset | character << 8) for character in range(7) for ability in [

worlds/ffx/locations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ class FFXLocationData(NamedTuple):
2121

2222
TreasureOffset: int = 0x1000
2323
BossOffset: int = 0x2000
24-
PartyMemberOffset: int = 0x3000
25-
OverdriveOffset: int = 0x4000
24+
OverdriveOffset: int = 0x3000
2625
OverdriveModeOffset: int = 0x5000
2726
OtherOffset: int = 0x6000
2827
RecruitOffset: int = 0x7000
2928
SphereGridOffset: int = 0x8000
3029
CaptureOffset: int = 0x9000
30+
PartyMemberOffset: int = 0xF000
3131

3232
location_types: Dict[int, str] = {
3333
TreasureOffset: "Treasure",

0 commit comments

Comments
 (0)