Commit Graph

414 Commits

Author SHA1 Message Date
yenatch
7d2b45cc3d wram: object structs
these are separate from MapObjects but not enough attributes are defined yet to know how
2013-11-28 00:53:09 -05:00
yenatch
f6706ecb09 finally compile multiple objects
pokecrystal.asm doesnt really make sense now so its gone

add includes.asm so objects have a standard include set
2013-11-20 06:35:10 -05:00
Mr Wint
dfa9adcaeb * added index comments to pointer lists
* added map header wram addresses
* analyzed some assembly
2013-10-05 04:03:34 +02:00
yenatch
4aae680b69 move wram constants into constants.asm; make all labels use :s
any global constants will have to be separate from any one object

there might be a better way to fix this, like pulling constants in preprocessor.py
2013-09-11 19:28:18 -04:00
yenatch
d07cd79443 consecutive protect/endure count in battle 2013-09-09 21:23:42 -04:00
yenatch
771ebcbf23 PokedexSeen and PokedexCaught were swapped 2013-09-09 02:40:27 -04:00
yenatch
03a6cfc2d3 OTName wram label 2013-09-07 22:47:58 -04:00
yenatch
a6ad4ad37e Predef wram labels
these are obviously general-purpose temps, but how do you name that?
2013-09-04 04:04:11 -04:00
yenatch
5b38b377f2 wram labels for graphics requests 2013-09-01 15:24:07 -04:00
yenatch
cc2906b68f consistent casing for Tileset labels
wram labels were using TileSet for some reason
2013-09-01 00:09:57 -04:00
yenatch
674229228f Coins wram label 2013-08-30 17:48:59 -04:00
yenatch
3aabca9baa remove a section def in the middle of the player struct 2013-08-30 14:20:01 -04:00
yenatch
320142fdda PCItems in wram 2013-08-30 00:07:51 -04:00
yenatch
eff81fb080 fix Stack's address ($c100 -> $c0ff)
using negative ds
2013-08-29 02:10:32 -04:00
yenatch
64bb7d2253 add LYOverrides in wram bank 5 2013-08-27 20:56:24 -04:00
yenatch
517da9357b PlayerPalette and PlayerAction wram labels 2013-08-27 13:49:32 -04:00
yenatch
744d1d8599 first event flag constants 2013-08-23 21:19:58 -04:00
yenatch
bc7b63b44a EventFlags label (bittable1) 2013-08-23 15:00:07 -04:00
yenatch
35a16b4860 Party/BoxMon nickname enders 2013-08-22 15:40:00 -04:00
yenatch
231adfe99c boxmon labels in sram 2013-08-22 14:01:46 -04:00
yenatch
802c3149c0 Merge commit 'd2d5c09'
Conflicts:
	main.asm
	wram.asm

Git couldn't figure out what this commit did, so it was redone to merge.
2013-08-21 13:54:35 -04:00
yenatch
d2d5c09b1d update section names to comply with rgbds redefinitions
HOME -> ROM0
DATA, CODE -> ROMX
BSS -> WRAM0, WRAMX

new to rgbds are banked VRAM and SRAM
2013-08-04 05:04:13 -04:00
yenatch
c01c2ad3c4 dump marts and related asm 2013-08-03 17:26:58 -04:00
yenatch
59cb57b954 more cleanup 2013-07-31 19:17:35 -04:00
yenatch
caaab30e66 reorder a couple wram labels
latest label is used in wram label replace
2013-07-29 23:59:05 -04:00
yenatch
45f52b0f71 Remove erroneous TileX/Y labels 2013-07-25 21:20:19 -04:00
yenatch
65bd235e61 even more bank 1 asm 2013-07-22 03:08:03 -04:00
yenatch
b3c5ca0d6e mom/rival/red/green names 2013-07-21 05:53:04 -04:00
yenatch
f2888a2d75 more overworld wram labels 2013-07-20 01:25:20 -04:00
yenatch
1da2a7a5c4 Outdoor sprites and sprite constants 2013-07-12 14:50:37 -04:00
yenatch
0988d69d9d more scripting cleanup 2013-07-10 19:17:04 -04:00
yenatch
82ebad99de MapObjects and ScriptRunning 2013-07-10 19:17:04 -04:00
yenatch
24daef7afb SelectMenu 2013-07-10 19:17:03 -04:00
yenatch
dca6fd37cd start using relevant constants in wram.asm 2013-07-10 19:17:03 -04:00
yenatch
fbf9ae7877 clean up StartMenu 2013-07-10 19:17:02 -04:00
yenatch
b9dfd607bb DoPlayerMovement and recomment ow surfing checks 2013-06-27 00:34:49 -04:00
yenatch
869de91bd5 LostBattle and HalveMoney 2013-06-17 18:19:45 -04:00
yenatch
8ae709be9f comment statdown move command 2013-06-13 16:10:39 -04:00
yenatch
3bb2a65eac wram: room decorations 2013-05-29 18:56:09 -04:00
IIMarckus
56d0175ad8 Add Prof. Oak's PC. 2013-05-21 17:03:31 -06:00
yenatch
0f3e9c6f7e mixed up connection y/x offset wram labels 2013-05-13 22:09:01 -04:00
yenatch
db84ec18d9 connection wram labels for each direction 2013-05-13 18:47:31 -04:00
yenatch
afa35111a4 Map connection wram labels 2013-05-13 15:37:14 -04:00
IIMarckus
e7208f1964 Add some naming screen stuff. 2013-05-12 18:36:40 -06:00
Sanky
d590a169c4 disasm some menu stuff 2013-05-08 01:43:29 +02:00
yenatch
bf73fd43db residual status constants 2013-05-06 11:41:12 -04:00
yenatch
6b12741537 additional trainer class id in wram
this one seems more persistent than OtherTrainerID
2013-05-04 02:14:17 -04:00
yenatch
8b1afa2265 Fix a wram mislabel (EnemyDisabledMove) 2013-05-03 21:04:34 -04:00
yenatch
c539a96f78 fruit trees 2013-05-03 19:34:19 -04:00
yenatch
9b68493758 arena trap substatus 2013-05-03 02:42:25 -04:00
yenatch
2b00d49065 move effect cleanup 2013-05-03 01:29:57 -04:00
yenatch
3f07cd95f7 GetItemAttr and related fns 2013-04-30 02:04:32 -04:00
yenatch
94cdb091c9 i have a clue what most of this does 2013-04-29 16:32:05 -04:00
yenatch
620d5c09c7 More labels in LoadEnemyMon 2013-04-29 15:49:58 -04:00
yenatch
f2185cd0e4 BaseStats is now BaseData 2013-04-29 15:11:48 -04:00
yenatch
652d26bb05 base stat labels + GetCurNick 2013-04-29 14:46:32 -04:00
yenatch
6f6988e3d1 more effect constants 2013-04-27 17:35:14 -04:00
yenatch
984b47f3e7 Enemy screens 2013-04-20 02:57:11 -04:00
yenatch
f125f14e98 various battle wram + fixes 2013-04-20 02:38:52 -04:00
yenatch
be3687bb55 party flags for evolution checking 2013-04-19 03:49:37 -04:00
yenatch
474606ace7 TempMon struct 2013-04-12 17:21:22 -04:00
yenatch
5f4fcbfba2 minor wram fixes 2013-04-08 02:19:28 -04:00
yenatch
45164c70b2 BreedMon typo in wram 2013-04-07 00:26:32 -04:00
yenatch
1b96c1543a All local addresses in bank d have labels 2013-03-27 18:50:10 -04:00
yenatch
d2f6b6febe Identify more move effect commands 2013-03-27 03:33:24 -04:00
yenatch
3e6c37fe52 Move effect commands dump 2013-03-26 20:39:56 -04:00
yenatch
edfffec831 Various battle-related bank0 asm and wram/constants 2013-03-26 05:22:22 -04:00
yenatch
f0346a9982 various minor additions
-battle variable constants
-step counters
-turn update fns
2013-03-22 04:15:35 -04:00
Bryan Bishop
ef4b04f12c comments for GetScriptByte 2013-02-28 15:45:34 -06:00
yenatch
823b7e3b9d Credits script and parser
This is the first time two wram addresses overlap.
2013-02-26 00:47:46 -05:00
yenatch
8bbfa54059 PlayCryHeader and related wram 2013-02-23 16:57:25 -05:00
yenatch
fd51a5a3b1 Split magikarp length calcs out 2013-02-18 20:14:25 -05:00
yenatch
c811b20b65 Move BitTable2 to a file
Currently, rgbasm's maximum macro parameter length is sixteen chars.
A couple wram labels were changed to accomodate this for now.
2013-02-05 03:16:46 -05:00
yenatch
710b7ddd7f Fix box name addresses 2013-02-05 01:20:51 -05:00
yenatch
b8f4fd6390 Add vram sections to wram, and minor fixes 2013-02-04 04:27:56 -05:00
Bryan Bishop
21429332ef Merge pull request #103 from yenatch/master
Fly / town map.
2013-02-03 21:46:09 -08:00
yenatch
54d4818d4f Fly / town map 2013-02-04 00:39:30 -05:00
Sanky
7df002c3e2 Merge https://github.com/kanzure/pokecrystal
Conflicts:
	constants.asm
	extras/crystal.py
	main.asm
2013-02-02 23:20:50 +01:00
yenatch
4ef85af828 fix OverworldMap definition 2013-01-25 03:25:48 -05:00
Sanky
7b3e7a8de0 disasm PrintPartyMenuText 2013-01-14 09:40:27 +01:00
yenatch
ad46a9359b make some labels saner 2013-01-11 15:08:28 -05:00
yenatch
7d55a39096 comment LoadEnemyMon and related fns; add RNG fns 2013-01-11 02:18:34 -05:00
yenatch
91726b3a53 clean up wram (excess partymon structs) 2013-01-01 17:08:26 -05:00
yenatch
9a64bb1581 remove last incbin in bank 3a 2013-01-01 14:20:15 -05:00
padz
eb4db4618f clean up bank 0; time-sensitive fns; add Predef fn
comment redone joypad functions + automated input
comment some uncommented functions
comment known hram addresses
try to clean up CalcMagikarpLength
label known addresses
add time-sensitive functions (rtc, palettes)
add Predef and PredefPointers
2012-12-23 03:21:19 -05:00
padz
8092f62cf4 expand on battle ram 2012-12-14 03:00:10 -05:00
padz
c82557c934 more wram.asm typos 2012-11-24 02:00:26 -05:00
padz
147eb967e5 fix a typo in wram.asm 2012-11-23 23:03:01 -05:00
padz
e4cfbdc886 flesh out wram, fix unallocated labels 2012-11-23 21:19:02 -05:00
padz
22ac1dfaf0 disasm bank3a, map audio ram, implement musscripts 2012-11-03 00:45:14 -04:00
padz
95ac2a8da6 prep for next commit 2012-11-02 18:43:05 -04:00
padz
2369bd7ed2 add missing instruction 2012-10-11 23:12:42 -04:00
padz
5635c2027a start sfx disasm 2012-10-11 20:35:22 -04:00
padz
3383c45c27 fixed problems with wram.asm, compiles now 2012-10-09 04:43:45 -04:00
padz
5ba5a025c4 add breeding section to wram 2012-10-09 02:40:36 -04:00
padz
a7631774b4 start work on audio engine 2012-10-09 02:32:05 -04:00
padz
399a5ab171 emergency fix 2012-09-26 15:43:48 -04:00
padz
ea897c2a37 fix last commit 2012-09-23 12:50:44 -04:00
padz
354685efd7 treemon and assorted minor changes 2012-09-22 19:27:57 -04:00
padz
e8b7789127 comment last commit 2012-09-16 21:20:04 -04:00
padz
4c1ef2aef5 PrintLetterDelay and some battle init 2012-09-11 22:37:03 -04:00
IIMarckus
53926402f8 Confirmed: this RAM location represents link battle. 2012-09-10 21:36:50 -06:00
IIMarckus
3501a0be8c Add labels for ram values discovered while disassembling battle music. 2012-09-10 21:20:58 -06:00
IIMarckus
e29988a362 Allocate ram instead of using constants. 2012-07-05 00:19:52 -06:00
IIMarckus
92e80be51b Add Special 0x60, which checks the conditions for Snorlax to wake up. 2012-07-04 22:13:23 -06:00
IIMarckus
a136ae576c Add special 0x96, the Beasts check. 2012-07-04 21:42:39 -06:00
Bryan Bishop
63ccfbfd62 more wram vars 2012-06-05 23:52:42 -05:00
Bryan Bishop
986a39c927 add some events to wram.asm 2012-06-05 23:49:44 -05:00
Bryan Bishop
fd98438233 battlemon in wram.asm 2012-06-05 23:26:18 -05:00
Bryan Bishop
a60236d2ef add trainer mons to wram.asm 2012-06-05 22:28:55 -05:00
padz
0784a952af accidentally repeated some labels 2012-04-19 00:54:46 -04:00
padz
534469658c forgot to expand moves 2012-04-19 00:24:49 -04:00
padz
af0707166c expanding wram labels / modifying name convention 2012-04-19 00:18:36 -04:00
IIMarckus
93902a38bd Add code for the Extremespeed Dratini. 2012-03-20 22:23:40 -06:00