PikalaxALT
88bc86b0bb
Replace Functionfb8 with FillBoxWithByte
2015-10-13 12:46:40 -04:00
PikalaxALT
327faac497
Magikarp functions moved to event/magikarp.asm
2015-10-11 12:26:39 -04:00
PikalaxALT
b68913a782
More radio labels
2015-10-09 23:09:03 -04:00
PikalaxALT
edf42a54d5
More labels, including fns responsible for partymon generation
2015-10-07 13:19:41 -04:00
PikalaxALT
2770cfc354
soft reset
2015-10-04 14:14:51 -04:00
yenatch
a129ba7b43
Nail down the rest of SRAM banks 0 and 1.
2015-08-20 23:03:05 -07:00
yenatch
9e3bd6cb9b
Label scratch space and a bunch of box lists.
2015-08-19 21:51:04 -07:00
yenatch
3cd79c55a3
Merge pull request #309 from PikalaxALT/master
...
Wild data, save functions, fix missing include
2015-08-17 11:58:57 -04:00
PikalaxALT
895e14cd05
Reworked person_event arguments
2015-07-29 18:22:23 -04:00
yenatch
abf3fc2137
Name some map event reading functions.
2015-07-26 00:11:33 -07:00
PikalaxALT
6c3000efd2
Macro update, roam mon annotations
...
Updated map and mapgroup macros to get around an rgbds bug.
Legendary beast locale handling annotated and relabeled.
Added a new constant NUM_ENGINE_FLAGS for use in the EngineFlagAction function. This will make it easier for modders to add or remove engine flags.
2015-07-25 19:02:36 -04:00
PikalaxALT
185b0a1c86
Wild Pokemon functions and data
...
Replaced encounter rates with percent values
Added new constants denoting the number of wild Pokemon in the grass and water wild constructs
Annotated and relabeled the encounter generating functions
Renamed a WRAM address associaed with the temporary storage of the wild Pokemon's species
Moved spawn constants to constants/map_constants.asm for use anywhere in the disassembly
2015-07-23 03:51:15 -04:00
PikalaxALT
c8960dd2c8
Various annotations
...
Annotated the SGB functions in predef/sgb.asm, and some of the map scripts. Renamed several functions in home. Renamed six WRAM addresses corresponding to party icon animations, and renamed several others relative to these.
2015-07-22 15:57:02 -04:00
PikalaxALT
d5ddd9e54e
Move radio code to its own file
2015-07-21 01:52:46 -04:00
PikalaxALT
5631bdc0d7
Added labels to different parts of the map script and event headers
2015-07-21 00:02:21 -04:00
PikalaxALT
471492b775
Reverted ld_hl_pointer macro
2015-07-20 22:18:18 -04:00
PikalaxALT
06673cbee7
Named more specials, fixed a missing EOL
2015-07-20 18:59:26 -04:00
PikalaxALT
d9300a9bec
Fix unnecessary white space and retire add_n_times
2015-07-20 11:28:05 -04:00
PikalaxALT
bef792f2d2
More label updates, moved predefs to new file
...
Also named most of the engine and event flag constants.
2015-07-20 03:51:52 -04:00
PikalaxALT
94129b6b45
Finished the decoration attributes table
...
Interpretation of the Decoration Attributes table is complete.
Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
2015-07-19 04:58:31 -04:00
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
IIMarckus
4d532beee6
Remove trailing newlines.
2015-06-23 12:24:51 -06:00
yenatch
c07ed74a5d
Blind wram labels part 4.
2015-02-10 15:14:41 -08:00
yenatch
3fe3cd1a46
hVBlank
2015-01-19 21:31:29 -08:00
yenatch
133e2fb7a7
Use "- $ff00" instead of "& $ff" when dealing with hram.
2014-12-29 08:49:08 -08:00
yenatch
37c65c59ca
Some wram labels in map connection code.
2014-12-26 20:37:18 -08:00
yenatch
f7e25beee6
Fix a static bank in map header code.
2014-12-26 15:31:48 -08:00
yenatch
a5862306b7
Split mobile/timer code out of home.asm.
2014-08-22 10:57:06 -07:00
yenatch
5337d0159e
Recomment the text engine.
2014-08-14 23:50:53 -07:00
yenatch
68ee99818a
Move cry functions out of home.asm.
2014-07-18 10:31:52 -07:00
yenatch
928cdcfc23
Name cry functions in home.asm.
2014-07-18 10:31:52 -07:00
yenatch
251517812f
Rename the internal PlayCry function to _PlayCryHeader.
2014-07-18 10:31:52 -07:00
yenatch
ab018a5094
Cry "echo" is actually the upper byte of pitch (now a word).
2014-07-18 10:31:51 -07:00
yenatch
2955e28a42
Add address labels used by Decompress.
2014-07-18 10:31:50 -07:00
yenatch
43fb5732a2
Don't use Olivine maps to define the length of a map header.
...
The first and second map header labels have no semantic meaning with regard to length.
In fact, none of the labels are used at all.
2014-06-24 10:19:27 -07:00
yenatch
6fee80528a
More object struct labels and constants.
2014-06-19 17:23:53 -07:00
yenatch
541a9c7347
Name the UpdateEnemyHUD predef.
...
Also start using hp palette constants.
2014-06-16 22:53:56 -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
b83f237254
Rename _GetBattleVar -> GetBattleVarAddr.
...
Functions prefixed with _ imply they're private.
The real purpose of this function is to use an address,
rather than saving a few cycles on push/pop.
2014-06-14 00:41:34 -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
21708a2271
Recomment lz deecompression.
2014-06-03 14:08:23 -07:00
yenatch
9755ff375a
Split bank 0 battle functions into home/battle.asm.
2014-05-21 16:37:18 -04:00
yenatch
3624794599
Split bank 0 audio functions into home/audio.asm.
2014-05-21 16:26:28 -04:00
yenatch
2cb3f8e1b9
Comment music functions in home.asm.
2014-05-21 16:21:46 -04:00
yenatch
dbb7431cde
Give a name to RandomRange.
2014-05-03 21:44:18 -04:00
yenatch
7ab8f76117
Label map trigger functions in home.asm.
2014-03-03 22:53:43 -05:00