PikalaxALT
60cd04b023
Trainer data structure and field move functions
...
Trainer data in map scripts is now a macro-defined structure.
Field move functions in main.asm are now nearly completely annotated, with local references.
Trailing white space deleted.
2015-07-18 23:45:39 -04:00
PikalaxALT
e674869018
Updated signpost items and person_event flags
2015-07-18 16:00:53 -04:00
yenatch
8186190ef1
Fix filenames and use pngs for credits graphics.
2015-07-18 00:05:14 -07:00
PikalaxALT
0fcef5fc08
More annotations and interpretations of functions and scripts
2015-07-17 17:17:10 -04:00
PikalaxALT
894955f9d9
Special script annotation, trainer constant enumeration, person-event structure update
2015-07-16 18:10:10 -04:00
PikalaxALT
39524cdb76
More enumeration of constants, more annotations of scripts.
2015-07-15 15:48:44 -04:00
PikalaxALT
8fa8e29170
- Update variable sprites to use constants rather than fixed values
2015-07-13 02:29:10 -04:00
PikalaxALT
249bad9551
Replace EVENT_ALWAYS_THERE with -1
2015-07-13 00:18:01 -04:00
PikalaxALT
d282fe4799
Event and engine constant enumeration; replace static flag numbers with their constant names
2015-07-12 02:00:17 -04:00
IIMarckus
388336353d
Fix mislabeled engine flags.
2015-07-10 06:12:28 -06:00
IIMarckus
07a12b37b6
Add more event flags.
2015-07-10 06:08:03 -06:00
IIMarckus
a711b45404
checkcode $1a is Kenji's break schedule.
2015-07-10 03:03:08 -06:00
IIMarckus
6f3b2d6de8
Add constants for checkcodes.
...
From PikalaxALT.
2015-07-09 20:23:23 -06:00
yenatch
e2c2e20f93
Use charmaps for special string codepoints.
...
Also fix all the text.
Also fix some unreferenced scripts that were interpreted as text.
2015-06-27 22:53:38 -07:00
yenatch
c00949dddf
Labels for the heal machine; spriteface constants.
2015-06-26 23:24:55 -07:00
yenatch
d6f7dc3206
Fix the Nurse std comments.
2015-06-26 23:17:10 -07:00
yenatch
0f57aefdf2
Merge branch 'tilesets' into master
...
Conflicts:
tilesets/tileset_headers.asm
2015-06-26 11:00:39 -07:00
IIMarckus
e57e1ba63b
Improve some signpost labels.
2015-06-25 22:01:08 -06:00
IIMarckus
f16d60e3f9
Update some event flags.
2015-06-24 21:20:04 -06:00
IIMarckus
fdfbeb7e5f
More std enums.
2015-06-24 19:26:24 -06:00
IIMarckus
5d48bc96fd
More std_scripts enums.
2015-06-23 15:02:58 -06:00
IIMarckus
1027a3a157
Clean up labels.
2015-06-23 14:29:06 -06:00
IIMarckus
7ac6aa2d22
Begin enumerating std_scripts constants.
2015-06-23 14:21:54 -06:00
IIMarckus
0ba261a3fd
Introduce checkmorn/checkday/checknite to replace checktime.
2015-06-23 12:28:48 -06:00
IIMarckus
4d532beee6
Remove trailing newlines.
2015-06-23 12:24:51 -06:00
yenatch
5ae298f533
Organized the primary tileset palettes.
...
Crystal's tileset-specific palettes are disconnected from these.
2015-06-23 10:46:51 -07:00
IIMarckus
47938939fe
Give Buena's phone scripts more appropriate filenames.
2015-06-23 11:43:32 -06:00
yenatch
93a589795f
Merge remote-tracking branch 'kanzure/master'
2015-05-18 02:21:14 -07:00
yenatch
b47c4bc6fd
Use more constants in the event scripting engine.
2015-05-18 02:16:11 -07:00
IIMarckus
7563a990aa
w-prefix the new PokegearFlags variable.
2015-05-18 03:15:45 -06:00
IIMarckus
bd894f6fb0
Fix a static address.
2015-05-18 02:07:28 -06:00
IIMarckus
32864d2db6
Give wd957 a more descriptive name.
2015-05-14 22:42:29 -06:00
yenatch
adc41566aa
Fix a static reference to a string in Pokedex code.
2015-03-03 18:31:46 -08:00
IIMarckus
828d6b92f0
Add the ability to build Crystal 1.1.
2015-02-14 01:51:34 -07:00
IIMarckus
b028e13834
Give an internal Pokédex status variable its own label.
...
This new label is used in revision 1.1 of Pokémon Crystal.
2015-02-14 01:40:38 -07:00
yenatch
92e2ed3e61
Split out event scripting specials.
2015-02-11 15:09:35 -08:00
yenatch
b048ea0faf
Use labels for script specials instead of constants/static values.
2015-02-11 15:03:42 -08:00
yenatch
9aef93701a
Split out map object code.
2015-02-11 14:13:22 -08:00
yenatch
a31b4586df
Split out the diploma code.
2015-02-11 14:08:07 -08:00
yenatch
f4e0e61114
Split out the map setup scripts.
2015-02-11 14:01:04 -08:00
yenatch
c6c220f1ad
Split out spawn points.
2015-02-11 13:59:59 -08:00
yenatch
3977bd6208
Split out map triggers.
2015-02-11 13:45:33 -08:00
yenatch
25f5306a4d
Split out the Pokedex code.
2015-02-11 13:36:02 -08:00
yenatch
e13565f933
Split out the pack code.
2015-02-11 13:27:15 -08:00
yenatch
956b990cd2
Fix a bunch of palette copying errors and wram bank conflicts.
...
There are probably a bunch more labels with wrong banks. This takes care of the most noticeable ones.
2015-02-10 18:21:38 -08:00
yenatch
62b473d6c6
Blind wram labels part 3.
2015-02-10 15:14:21 -08:00
yenatch
849595e537
Blindly use wram labels for everything except mobile, part 2.
2015-02-10 14:18:23 -08:00
yenatch
d3054dc4cb
More graphics and straggling static refs.
2015-02-06 21:17:32 -08:00
yenatch
ed88e4947c
Get rid of more static refs in banks 47, 5c, 5f.
2015-02-05 23:59:50 -08:00
yenatch
8583cc4724
Stop using the preprocessor.
2015-01-20 00:01:23 -08:00
yenatch
3fe3cd1a46
hVBlank
2015-01-19 21:31:29 -08:00
yenatch
7b87e67a89
More labels in code and some mobile datatracking.
2015-01-01 20:59:08 -08:00
yenatch
133e2fb7a7
Use "- $ff00" instead of "& $ff" when dealing with hram.
2014-12-29 08:49:08 -08:00
yenatch
1a2784d414
Recombine the event engine objects.
...
They must be in the same bank to work, and defining sections with static banks should only be used to produce an identical rom.
They were only split in the first place to minimize the amount of code tahat needed to be rebuilt based on a single constant, which in retrospect was meaningless.
2014-12-29 08:08:03 -08:00
yenatch
6604afce62
Use the "next" directive in the credits.
2014-12-03 21:26:14 -08:00
yenatch
7996f5b1ab
Miscellaneous formatting cleanup.
2014-09-30 11:19:33 -07:00
yenatch
ed15916f05
Use landmark constants in displaylocation commands (phone scripts).
2014-08-22 20:36:10 -07:00
yenatch
49b00673b0
Recomment Headbutt tree and Rock Smash encounters.
2014-08-18 08:20:37 -07:00
yenatch
b922fe72a1
Label CheckPhoneCall.
2014-07-24 20:19:56 -07:00
yenatch
f7e53b0f50
Dump the phone scripts.
...
This is one of the last major incbins. The rest is mostly mobile code.
2014-07-23 20:20:21 -07:00
yenatch
cda504fbce
Fix "name" event command parameter comments.
2014-07-22 22:39:41 -07:00
yenatch
b211cac35a
Separate phone scripts from std scripts.
2014-07-22 22:09:55 -07:00
yenatch
29d92fe79c
Fix some static addresses in std scripts.
2014-07-22 22:05:41 -07:00
yenatch
e75e735f7f
Reflect the extra loadwilddata argument in its function comment.
2014-07-22 22:05:06 -07:00
yenatch
849044ce8a
Remove generated "jump sources" comments.
2014-07-19 14:11:48 -07:00
yenatch
be08d93b61
Name the script special function and clean up a couple specials.
2014-07-19 14:02:58 -07:00
yenatch
928cdcfc23
Name cry functions in home.asm.
2014-07-18 10:31:52 -07:00
yenatch
c2dba43188
Contest battle type and comment the battle menu.
2014-06-17 11:58:11 -07:00
yenatch
8639fcd29b
Use a predef macro that takes labels instead of juggling constants.
...
Besides making predefs convenient, naming a predef no longer requires
adding or renaming a predef constant. This also lets predefs be rearranged at will.
2014-06-16 11:20:01 -07:00
yenatch
023cfdbb05
Consolidate monster structs in wram and sram.
...
The PartyMon struct is really the box struct with volatile variables like status added.
Some other labels have been reworked.
Move structs no longer have explicit labels since their location is arbitrary and usually shared.
2014-06-12 18:32:42 -07:00
yenatch
fd8804472d
Use {hl,de,bc}coord macros wherever possible.
2014-06-04 01:10:56 -07:00
yenatch
2cb3f8e1b9
Comment music functions in home.asm.
2014-05-21 16:21:46 -04:00
yenatch
95af7dd873
Move RegionCheck into engine/landmarks.asm.
2014-04-30 23:44:44 -04:00
yenatch
113dd395d2
Include palette 0 in PokemonPalettes.
...
Now PokemonPalettes is referenced.
2014-04-13 00:03:21 -04:00
yenatch
f66f4d51c7
Replace static bank 0 calls in the event scripting engine.
2014-04-12 15:45:40 -04:00
yenatch
0eb49d5941
Fix a title screen label that accidentally made its way into bank 1.
...
Somehow, a title screen (bank 0x43) function had its label put in bank 1.
This caused changes to either bank to break the compiled rom.
fixes 61a3d145
2014-04-09 18:27:29 -04:00
yenatch
73ffc4677a
Image extensions in gfx/{intro,title}.
2014-04-02 00:41:56 -04:00
yenatch
6a66f28bf5
Fix image extensions in gfx/{credits,misc}.
2014-04-02 00:16:03 -04:00
yenatch
2564836df1
Compressed title screen graphics are padded too.
2014-03-04 01:29:43 -05:00
yenatch
7ab8f76117
Label map trigger functions in home.asm.
2014-03-03 22:53:43 -05:00
yenatch
2b144fcfd4
Finish off SGB and CGB code and data.
...
That should be it for bank 2.
2014-03-02 16:02:55 -05:00
yenatch
78c70bffe4
More SGB and CGB palettes.
2014-03-02 01:22:33 -05:00
yenatch
38850df63d
Lots of SGB incbins in bank 2.
...
Palette/block packets, border tilemap, more palettes etc.
2014-03-01 21:43:16 -05:00
yenatch
83537048fb
Smoke out bank 4.
...
Highlights: contest trainers and mons
2014-03-01 10:31:13 -05:00
yenatch
ddc665a31a
Move includes into object bases instead of their version wrappers.
2014-02-05 19:07:24 -05:00
yenatch
cf2acc1001
Use :: to export labels between objects.
...
This fixes the build.
2014-02-01 20:26:39 -05:00
yenatch
1ba5b0f4bc
Map setup scripts and commands
2014-01-26 22:07:19 -05:00
yenatch
4612670768
more npc trade cleanup
2013-12-27 22:20:24 -05:00
yenatch
58af27eaeb
label overworld loop functions
2013-12-27 05:56:23 -05:00
yenatch
0cd1d2071f
item effect incbins
2013-12-24 17:11:52 -05:00
yenatch
7b20626c7b
more object struct constants
2013-12-23 04:39:26 -05:00
yenatch
496502b3dc
no more Public in joypad interface labels
2013-12-22 17:30:35 -05:00
yenatch
0d3308f68c
use RGB macros for palettes instead of binary chunks
2013-12-20 00:29:31 -05:00
yenatch
c7b19392a9
use the sgb border label in asm
2013-12-13 20:49:01 -05:00
yenatch
1b7e44c729
split out sprite facing defs into engine/facings.asm
2013-12-11 22:00:56 -05:00
yenatch
be0c7962b0
YesNoBox
2013-12-04 03:07:58 -05:00
yenatch
3de254f7a2
more 3pt macro labels; shorten 3pt macros to take just a label
...
static addresses should be avoided anyway
2013-12-02 14:18:03 -05:00
yenatch
ce37f0f970
labels for every 3callasm
2013-12-01 18:26:05 -05:00
yenatch
9aaa5f24bb
shorten redundant text_jump macros
2013-12-01 17:54:09 -05:00
yenatch
0b905cb8ac
rename a credit constant to avoid conflicts
2013-11-29 01:49:48 -05:00