Commit graph

1214 commits

Author SHA1 Message Date
sawakita
19a859ca51 Improve error checking in the context of issue #27
Link to kanzures' guidelines for that issue:
https://bitbucket.org/iimarckus/pokered/issue/27/analyze_incbinsscan_for_predifined_labels#comment-2068911
2012-10-01 18:59:51 +02:00
sawakita
db0c37557d Fix param error in load_asm_if_one_exists_in()
Not sure, but I suppose that using *args makes the passed list an element
of the args list, thus causing iteration on args to yield the passed
list as an element instead of yielding the single elements of the passed
list. Maybe.
2012-10-01 18:54:45 +02:00
sawakita
58a9aacc0b Restore auto-loading of default "main" asm file
This feature was removed misunderstanding its actual use: if filename
passed to load_asm() is in defaults the correct current main asm file is
loaded. This saves us from knowing which actually is the current name of
the "main" asm file, because the correct one is chosen automatically
(unless, of course, the passed filename is not in the defaults list.
2012-10-01 18:44:36 +02:00
sawakita
cbb722d09b Fix pokered_dir extrapolation
Without "os.path.abspath" the result was an empty string. Now the
absolute path is correctly calculated.
2012-10-01 18:41:16 +02:00
iimarckus
c61f7eb5ee Merged in sawakita/pokered (pull request #2) 2012-09-30 15:47:01 -06:00
sawakita
723e424979 Make analyze_incbins dirs reference os-independent
This should fix a bug caused by comparing string literals to
directories. It should also be safer, using "os" module to access paths.
2012-09-30 20:10:13 +02:00
stag019
ad16c0dc14 DisplayDexRating. It sucks that I can't use a label for the dbw macro, as that would make DexRatingsTable look a lot cleaner. 2012-09-20 19:31:10 -04:00
stag019
63fc23b74e Code dealing with palettes. Really, does anyone know if bit 3 of battle status 3 is used? 2012-09-20 18:45:32 -04:00
stag019
507170d0ee Type effectiveness display message. That's right, I did some work for once. 2012-09-20 05:45:54 -04:00
Bryan Bishop
4b28ddb11f .hgignore -> .gitignore 2012-08-26 19:43:35 -05:00
IIMarckus
24a4774423 Add more scripts from Champion Rival’s room.
hg-commit-id: c58013f6cc9b
2012-08-26 11:41:58 -06:00
IIMarckus
4bbef145e0 Add the boulder checking code in Seafoam Islands.
hg-commit-id: e6031dbbcc5b
2012-08-26 10:35:47 -06:00
IIMarckus
fd27fd7b6b Some label improvements.
hg-commit-id: fa7dbcf6d009
2012-08-24 22:39:49 -06:00
IIMarckus
da20de1cda Add more scripts from Bill's house.
hg-commit-id: 3f7889ebb268
2012-08-24 22:27:17 -06:00
IIMarckus
b2482b25de Add more scripts from Route 8 gatehouse.
hg-commit-id: a8a00403ba8d
2012-08-24 22:07:24 -06:00
IIMarckus
3494549fe6 Add more scripts from the Route 7 gatehouse.
hg-commit-id: fe4704b8c229
2012-08-24 22:01:06 -06:00
IIMarckus
5f946db3c8 Add more scripts from the Route 5 gatehouse.
hg-commit-id: 3c09361e959e
2012-08-24 21:54:19 -06:00
IIMarckus
55cdee09c9 Add more scripts from Vermilion City.
hg-commit-id: 79ca005394d3
2012-08-24 21:40:16 -06:00
IIMarckus
29957f6f5e Add another script from Cerulean City.
hg-commit-id: f4bac0f8f57d
2012-08-24 21:17:43 -06:00
IIMarckus
f323620f58 Add the rest of the Viridian City scripts.
hg-commit-id: 3d00648148ac
2012-08-24 11:23:06 -06:00
IIMarckus
93090d7767 Remove unneeded comments.
hg-commit-id: 2b946e17be3f
2012-08-21 21:40:03 -06:00
IIMarckus
b3460b89b6 Fix several labels and add remaining scripts from Pewter City.
hg-commit-id: 86759463ed88
2012-08-21 21:37:02 -06:00
IIMarckus
77750247b1 Use labels for $34bf, and add some more code from Pewter City.
hg-commit-id: a0c6d0201b95
2012-08-21 21:17:47 -06:00
IIMarckus
5f06efa7b9 Use decimal for overworld Pokémon levels, and Pokémon IDs for cries.
hg-commit-id: 3788e38a85f6
2012-07-14 16:02:09 -06:00
IIMarckus
ba9c7402cf Add the ▶ symbol to the text preprocessor.
hg-commit-id: e3d1729bf4c4
2012-07-07 14:47:58 -06:00
IIMarckus
122d0003eb Palette $0C is the Town Map palette.
Noticed by Danni-E 33.

hg-commit-id: 93a11989d9db
2012-07-03 21:47:04 -06:00
IIMarckus
80e79e9943 “$f0 ; currency symbol” → “¥”
hg-commit-id: 3adf6574394f
2012-05-31 00:01:07 -06:00
IIMarckus
e3f1765f8b Close yellowtrainers branch.
hg-commit-id: b8279d635eb0
2012-05-23 05:26:21 -06:00
IIMarckus
a71e25d27f Merge in yellowtrainers branch.
hg-commit-id: c2715afba545
2012-05-23 05:24:28 -06:00
IIMarckus
3394902527 Add trainer data added or changed in Yellow.
hg-commit-id: 13217429ddf5
2012-05-23 05:17:14 -06:00
IIMarckus
80d4aa3e00 Add trainer special movesets from Yellow.
hg-commit-id: 93c231df8a92
2012-05-23 04:31:40 -06:00
IIMarckus
e1560808da Merge Xeon’s stuff.
hg-commit-id: 6a40706a4bb2
2012-05-13 16:26:38 -06:00
xeons
3870ca7703 disassembled and named some general functions
hg-commit-id: 16b81dc4ca99
2012-04-07 00:24:45 +01:00
xeons
18f52b7cdc fix a few things I did wrong
hg-commit-id: 919adffe4381
2012-03-30 21:55:29 -05:00
xeons
17d6c0d0f7 Forced biking or surfing map handling functions
hg-commit-id: 7980878962c4
2012-03-30 21:36:54 -05:00
stag019
a0791b38be Some random label(s) somewhere...
hg-commit-id: 66036833f01f
2012-03-30 03:12:18 -04:00
stag019
1ec756040c CinnabarGymScript_Unknown75759/CinnabarGymScript_Unknown75772
hg-commit-id: db5196572497
2012-03-29 17:33:58 -04:00
stag019
5bf38154ed FuchsiaGymScript_Unknown75453... probably needs a better name...
hg-commit-id: fbe6f4dc16e4
2012-03-29 17:25:42 -04:00
stag019
96d1b39fac Unknown_7657e and related stuff started. Needs work...
hg-commit-id: 8060378fb0ae
2012-03-29 16:41:12 -04:00
stag019
4539e128dc The save sound from Pokemon Red, and Pokemon Blue.
hg-commit-id: 853da1329134
2012-03-26 22:15:03 -04:00
stag019
1011fa55f1 The pointer list at the end of bank 0.
hg-commit-id: 6c466504608d
2012-03-26 20:13:59 -04:00
stag019
faf99b5a02 0x45023: Shaves 10 more bytes from rbdiff.
hg-commit-id: c4bcd261f47c
2012-03-26 19:50:38 -04:00
stag019
76311b6e54 ActivatePC and associated stuff...
hg-commit-id: 35bb9f0c0008
2012-03-23 20:39:43 -04:00
stag019
aae2e7b4af Comments are spaced out instead of tabbed out.
hg-commit-id: 201f8c76b32b
2012-03-23 00:08:47 -04:00
IIMarckus
297cd4d822 Work around a bug in textpre.py.
Comments should not be parsed by textpre.py. Comments with characters in
quotes that don't exist in textpre.py trigger a Python error.

hg-commit-id: 83bd89af377e
2012-03-22 21:17:15 -06:00
stag019
b8c90b6fdb SubstituteEffectHandler from smkdan.
hg-commit-id: 284019b3561e
2012-03-22 13:58:31 -04:00
stag019
3901d3ac17 CheckTargetSubstitute from smkdan's docs.
hg-commit-id: 229bf9102cf7
2012-03-22 05:28:55 -04:00
stag019
419ea20764 FreezeBurnParalyzeEffect and other various status stuff (from smkdan).
hg-commit-id: f84c93ca318c
2012-03-22 05:18:57 -04:00
stag019
8d946a0b84 JumpMoveEffect from smkdan's docs.
hg-commit-id: 8b65a3389391
2012-03-22 03:33:46 -04:00
stag019
1a80ed6019 MoreCalculateDamage (you pick a better name)...
hg-commit-id: d9d71c17cafc
2012-03-22 03:19:55 -04:00