Commit Graph

522 Commits

Author SHA1 Message Date
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
IIMarckus
89073da581 Label flypoint callbacks. 2015-06-25 23:30:16 -06:00
IIMarckus
ded477e69e Delete unused file. 2015-06-25 22:35:06 -06:00
IIMarckus
e57e1ba63b Improve some signpost labels. 2015-06-25 22:01:08 -06:00
IIMarckus
bd022e179e Clean up labels for gym statues. 2015-06-24 21:51:36 -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
7ac6aa2d22 Begin enumerating std_scripts constants. 2015-06-23 14:21:54 -06:00
IIMarckus
205000fa9a Better labels in Charcoal Kiln. 2015-06-23 13:59:07 -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
IIMarckus
91e474b19f Improve labels for some stuff in Kris's house. 2015-06-23 11:34:13 -06: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
48b05947b7 Use connection macros instead of guessed values in second map headers.
Some of the under-the-hood connection values are offset by an arbitrary amount. This could be because of a graphical connection editor allowing a shift in the strip destination pointer, as well as the standard alignment value. There is no visible difference, so it can be confusing when two unique sets of values can produce the same result.

Reversing this invisible offset was a major sticking point back when connections were dumped, but it was straightforward this time around. Much thanks to huderlem for articulating this quirk in pokered's connection macros.
2015-02-11 23:27:01 -08:00
yenatch
b048ea0faf Use labels for script specials instead of constants/static values. 2015-02-11 15:03:42 -08:00
yenatch
b097617f9f Blind wram in maps. 2015-02-10 15:43:34 -08:00
yenatch
8583cc4724 Stop using the preprocessor. 2015-01-20 00:01:23 -08:00
IIMarckus
464d89c59e Labels for day of week siblings. 2014-10-26 19:37:15 -06:00
yenatch
52c5047a53 Remove the last incbin in map events.
Since it's unused there's no way of knowing for sure,
but movement data typically comes after scripts and
before text, and the commands make sense.
2014-07-19 13:12:43 -07:00
yenatch
0c7ef5e2d8 Use macros for both types of map headers.
This should make map headers much easier to edit than before.

Rather than occasionally being able to reuse blockdata semantically,
create a label for each map and attach it to some blockdata include.
This improves readability and reduces overhead when adding new maps.

The macro argument length bug doesn't seem to crop up here...
It looks like it only happens when an argument is over 16 characters
long and references a symbol that exists before the macro is invoked.
2014-07-18 10:31:51 -07:00
yenatch
091e55bfa6 Add labels for maps that reuse blockdata. 2014-07-18 10:31:50 -07:00
yenatch
49ef0121dc Remove excessive whitespace in map headers.
Use the "map" macro instead of using GROUP_* and MAP_* constants.
Also remove redundant "(bank then label)" comments.
2014-06-24 09:01:29 -07:00
yenatch
c2dba43188 Contest battle type and comment the battle menu. 2014-06-17 11:58:11 -07:00
yenatch
e23f341258 Battle type constants in the wild.
Also add constants for trap and Celebi event battles.
2014-06-13 22:53:20 -07:00
yenatch
b7e3762187 A couple Buena's Password specials. 2014-05-01 02:23:51 -04:00
yenatch
ce59c9a84f Music and sound effect constants in map events. 2014-04-30 06:04:35 -04:00
yenatch
5708cf7569 Fix some static addresses in maps. 2014-04-30 05:40:22 -04:00
yenatch
bd30cc084d Unused Wooster script in Azalea Town. 2014-04-17 22:06:53 -04:00
yenatch
e703b5ef48 Text macros in maps/.
Looks fine at a glance.
2014-03-06 00:29:44 -05:00
yenatch
cf2acc1001 Use :: to export labels between objects.
This fixes the build.
2014-02-01 20:26:39 -05:00
yenatch
4d1091f8d9 poke seer special 2013-12-22 17:17:33 -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
400ced34f0 landmark constants in map headers 2013-11-28 04:51:39 -05:00
yenatch
0ccfccf4bf move map groups into maps/map_headers.asm 2013-11-22 05:05:25 -05:00
yenatch
e5b5e1238d script command unknown0xa8 is wait 2013-10-01 01:03:08 -04:00
yenatch
ad3293595d script commands if_greater_than and if_less_than were swapped 2013-09-26 18:40:20 -04:00
yenatch
73bd376cfd rename bit2 script commands to flag 2013-09-24 03:51:42 -04:00
yenatch
3134b26f7b rename bit1 script commands to event 2013-09-24 03:48:58 -04:00
yenatch
1323008f6f first round of event flag constants in map events
this is a little over half.. 610 to go
2013-09-05 05:19:35 -04:00
yenatch
3010731347 split out blockdata includes from main into maps/ 2013-09-01 14:41:21 -04:00
yenatch
0ee006a145 more item effects 2013-08-03 16:25:38 -04:00
yenatch
4ac88d6cdc sprite constants in map events 2013-07-12 17:06:11 -04:00
yenatch
f4db6f6029 music constants in map headers 2013-05-22 16:36:51 -04:00
yenatch
f4e9dc2d33 label banks in map headers 2013-05-22 15:09:37 -04:00
yenatch
4b4445138d fix map group label numbering 2013-05-12 10:50:15 -04:00
yenatch
e46e8a3023 fix parsing errors in RuinsofAlphOutside 2013-05-01 13:52:44 -04:00
yenatch
d4fe2c9953 remove incbins in BattleTower 2013-05-01 13:29:45 -04:00
yenatch
92863b3446 remove incbins in GoldenrodPokeComCenter2FMobile 2013-05-01 06:19:11 -04:00
yenatch
eb971e37ad remove incbins in GoldenrodDeptStore6F 2013-05-01 05:27:54 -04:00
yenatch
8218520bef remove incbins in EarlsPokemonAcademy 2013-05-01 05:22:24 -04:00
yenatch
8a316097e1 remove incbins in DragonsDenB1F 2013-05-01 03:37:05 -04:00
yenatch
4307a2bb45 remove incbins in CeladonGameCornerPrizeRoom 2013-05-01 02:53:33 -04:00
yenatch
a6b034dc41 remove incbins in DragonShrine 2013-05-01 02:38:24 -04:00
yenatch
f98359fd1b remove incbins in GoldenrodGameCorner 2013-05-01 02:38:19 -04:00
yenatch
3ce221ae09 remove incbins in CeladonDeptStore6F 2013-05-01 02:24:05 -04:00
yenatch
fc0b5601af remove incbins in CeladonDeptStoreElevator 2013-05-01 02:07:06 -04:00
yenatch
1678e02258 remove incbins in GoldenrodDeptStoreElevator 2013-05-01 02:00:21 -04:00
yenatch
c1acb04707 remove incbins in GoldenrodCity 2013-05-01 01:00:32 -04:00
yenatch
9004b6a3d7 remove incbins in KrissHouse2F 2013-04-30 23:10:21 -04:00
yenatch
590d000d24 remove incbins in BlackthornGym2F 2013-04-30 23:05:52 -04:00
yenatch
40876d2800 remove incbins in IcePathB1F 2013-04-30 22:32:03 -04:00
yenatch
ec1f8e1f94 dump and include beta maps 2013-04-25 15:44:40 -04:00
yenatch
736275ae0a pokedex entries got caught in the map header move 2013-04-12 17:24:16 -04:00
yenatch
48f5e7dfb8 Shuckle special 2013-04-08 13:12:58 -04:00
yenatch
a7c260f4f4 Script commands 0xb2 and 0xcc don't exist 2013-03-01 16:22:35 -05:00
yenatch
48dbfc6333 Split map scripts, text, events from main.asm
The commit we deserve
2013-02-17 01:59:06 -05:00
yenatch
860d7447f9 Point to map groups instead of their first header 2013-02-15 23:25:29 -05:00
yenatch
b52aa98325 Split map headers and second map headers from main.asm 2013-02-15 22:02:15 -05:00
Bryan Bishop
e44916761b oops forgot the maps 2012-05-21 02:43:52 -05:00