Commit Graph

24 Commits

Author SHA1 Message Date
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
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
IIMarckus 6ef52ba676 Split the sixth argument of map_header into separate arguments.
From PikalaxALT.
2015-07-09 20:23:32 -06:00
Scott Norton f74fd6903f - Renamed "Functiond283" to "GetPocketCapacity" and updated the pointers and constants to better reflect their hypothesized purposes.
- Using yenatch's version of the macro and constant handling, rewrote the tmhm bit array as a macro-defined environment.
2015-07-03 13:46:38 -04: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
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
Scott Norton f3b407e04e Fix macro changemap
Syntax is now `changemap MapBlockDataBank, MapBlockDataPointer`
2015-06-08 23:52:51 -04:00
yenatch fc8bf4b9e9 Merge branch 'gfx-tweaks' 2015-05-18 02:23:17 -07:00
yenatch d4863f3fa5 Enumerate the event script command macros.
This is ugly, but much better than static values.
2015-04-13 22:28:28 -07:00
yenatch ee98f7b489 Enumerate the move effect command macros. 2015-04-13 21:41:32 -07:00
yenatch e7a3ba0592 Add a macro for enumeration.
"enum" is like "const" but uses variables instead. This might not be desired.

It has been moved to the top of macros.asm so that included macros can be enumerated.
2015-04-13 21:41:32 -07:00
yenatch 275780271e Use a macro instead of manually subtracting $36 from pic banks. 2015-03-03 17:19:27 -05:00
yenatch 1480602df7 Move the map_header macro into macros/map.asm. 2015-02-11 23:27:11 -08:00
yenatch 2c5be67604 Move second map header macros into macros/map.asm.
On second thought, keep the data separate from ugly macros.
2015-02-11 23:27:11 -08:00
yenatch b048ea0faf Use labels for script specials instead of constants/static values. 2015-02-11 15:03:42 -08:00
yenatch 5aec11492d Add a "mobile" directive for dummied-out mobile adapter functions. 2015-01-27 15:03:14 -08:00
yenatch f036cdf13b Move around some more macros. 2015-01-20 14:26:16 -08:00
yenatch 9303752e3f Start moving relevant macros into macros/text.asm. 2015-01-20 14:10:55 -08:00
yenatch 8583cc4724 Stop using the preprocessor. 2015-01-20 00:01:23 -08:00