Created
December 15, 2014 04:11
-
-
Save magical/115cd29b51c29ae05c01 to your computer and use it in GitHub Desktop.
O-Powers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> f = open("X/exefs/code.bin", 'rb') | |
>>> data = [] | |
>>> for i in range(1, 65): | |
... _ = f.seek(0x4467d8 + i*22) | |
... data.append(f.read(22)) | |
... | |
>>> text = [line.strip() for line in open("xy/rips/text/en/141")] | |
>>> for d in data: text[d[12]], struct.unpack("<H", d[18:20])[0] | |
... | |
('Hatching Power Lv. 1', 125) | |
('Hatching Power Lv. 2', 150) | |
('Hatching Power Lv. 3', 200) | |
('Hatching Power S', 200) | |
('Hatching Power MAX', 200) | |
('Bargain Power Lv. 1', 90) | |
('Bargain Power Lv. 2', 75) | |
('Bargain Power Lv. 3', 50) | |
('Bargain Power S', 50) | |
('Bargain Power MAX', 50) | |
('Prize Money Power Lv. 1', 150) | |
('Prize Money Power Lv. 2', 200) | |
('Prize Money Power Lv. 3', 300) | |
('Prize Money Power S', 300) | |
('Prize Money Power MAX', 300) | |
('Exp. Point Power Lv. 1', 120) | |
('Exp. Point Power Lv. 2', 150) | |
('Exp. Point Power Lv. 3', 200) | |
('Exp. Point Power S', 200) | |
('Exp. Point Power MAX', 200) | |
('Capture Power Lv. 1', 150) | |
('Capture Power Lv. 2', 200) | |
('Capture Power Lv. 3', 250) | |
('Capture Power S', 250) | |
('Capture Power MAX', 250) | |
('Encounter Power Lv. 1', 150) | |
('Encounter Power Lv. 2', 200) | |
('Encounter Power Lv. 3', 300) | |
('Stealth Power Lv. 1', 66) | |
('Stealth Power Lv. 2', 50) | |
('Stealth Power Lv. 3', 33) | |
('HP Restoring Power Lv. 1', 20) | |
('HP Restoring Power Lv. 2', 50) | |
('HP Restoring Power Lv. 3', 200) | |
('PP Restoring Power Lv. 1', 5) | |
('PP Restoring Power Lv. 2', 10) | |
('PP Restoring Power Lv. 3', 999) | |
('Full Recovery Power', 999) | |
('Befriending Power Lv. 1', 1) | |
('Befriending Power Lv. 2', 2) | |
('Befriending Power Lv. 3', 3) | |
('Befriending Power S', 3) | |
('Befriending Power MAX', 3) | |
('Attack Power Lv. 1', 1) | |
('Attack Power Lv. 2', 2) | |
('Attack Power Lv. 3', 3) | |
('Defense Power Lv. 1', 1) | |
('Defense Power Lv. 2', 2) | |
('Defense Power Lv. 3', 3) | |
('Sp. Atk Power Lv. 1', 1) | |
('Sp. Atk Power Lv. 2', 2) | |
('Sp. Atk Power Lv. 3', 3) | |
('Sp. Def Power Lv. 1', 1) | |
('Sp. Def Power Lv. 2', 2) | |
('Sp. Def Power Lv. 3', 3) | |
('Speed Power Lv. 1', 1) | |
('Speed Power Lv. 2', 2) | |
('Speed Power Lv. 3', 3) | |
('Critical Power Lv. 1', 1) | |
('Critical Power Lv. 2', 2) | |
('Critical Power Lv. 3', 3) | |
('Accuracy Power Lv. 1', 1) | |
('Accuracy Power Lv. 2', 2) | |
('Accuracy Power Lv. 3', 3) | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment