Commit Graph

853 Commits

Author SHA1 Message Date
yenatch
46d96bc7fd more battle anim labels 2013-12-09 16:20:19 -05:00
yenatch
9eb2cf3d21 more battle animation labels 2013-12-08 16:22:35 -05:00
Bryan Bishop
0fdbdb43a7 Merge pull request #217 from yenatch/more-objects
compile and link multiple objects
2013-12-07 00:50:26 -08:00
yenatch
37dd85797a Function3af0 -> GetBattleAnimByte 2013-12-05 15:01:32 -05:00
yenatch
b85244eade labels for battle animation commands 2013-12-05 14:57:56 -05:00
yenatch
be0c7962b0 YesNoBox 2013-12-04 03:07:58 -05:00
yenatch
099e17bbaf comment some battle animation asm 2013-12-04 02:33:46 -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
c0e2170f01 some oam constants 2013-12-01 16:40:56 -05:00
yenatch
d7bf70f3c9 home.o 2013-11-29 02:30:08 -05:00
yenatch
2ec12a22af gfx/pics.o 2013-11-29 02:11:40 -05:00
yenatch
c2889215a8 audio.o and misc/crystal_misc.o 2013-11-29 01:51:27 -05:00
yenatch
b18beef4d5 more landmark constants and rename FlypointPerms -> VisitedSpawns 2013-11-29 00:38:22 -05:00
yenatch
5c76249488 flypoints and spawn points 2013-11-28 04:35:14 -05:00
yenatch
fd73d41e6b redone landmarks, now with constants 2013-11-28 03:54:21 -05:00
yenatch
ac65a8b821 engine/credits_crystal.o 2013-11-28 01:38:49 -05:00
yenatch
ddfda26725 facing structs and other movement stuff 2013-11-28 00:54:43 -05:00
yenatch
e3e1298196 enumerate battle var constants 2013-11-27 14:45:43 -05:00
yenatch
57736ce19c recomment battle vars 2013-11-27 14:45:42 -05:00
yenatch
d2dc732600 split some more and recomment more home asm 2013-11-27 14:45:42 -05:00
yenatch
41f149c7f1 maps.o and stats/pokedex/entries.o 2013-11-27 14:45:42 -05:00
yenatch
04eb541f83 proper section names and bank constants 2013-11-26 04:29:47 -05:00
yenatch
3eb9851b84 text in slots asm 2013-11-25 19:10:04 -05:00
yenatch
15d7d65355 jumptable in slots asm 2013-11-25 19:10:00 -05:00
yenatch
f16193dc91 move more credits asm into engine/credits.asm 2013-11-24 04:26:10 -05:00
yenatch
25325139e6 more credits labels and theend graphic 2013-11-24 04:09:17 -05:00
Bryan Bishop
112de1c172 Merge pull request #216 from yenatch/master
1bpp handling
2013-11-23 00:39:48 -08:00
yenatch
cf6295cb9f objects for event handling and scripting 2013-11-23 02:51:48 -05:00
yenatch
29afa24f0b split more event handling out of main 2013-11-23 02:33:53 -05:00
yenatch
8bb8546497 buena text 2013-11-22 05:38:52 -05:00
yenatch
0ccfccf4bf move map groups into maps/map_headers.asm 2013-11-22 05:05:25 -05:00
yenatch
bd392da29e split event handling into engine/events.asm 2013-11-22 05:04:32 -05:00
yenatch
bcd833e758 version checks for event script commands and move in related asm 2013-11-22 04:51:47 -05:00
yenatch
94188ee0f7 version-sensitive objects for egg moves and evos/attacks
this way main.o and wram.o are version-neutral
2013-11-22 00:14:55 -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
yenatch
a082f314b3 evolution animation 2013-11-18 20:48:00 -05:00
Bryan Bishop
74afd6d680 Merge pull request #215 from yenatch/master
dump the music again
2013-11-14 12:02:49 -08:00
Bryan Bishop
40ed4545b2 local labels for some mobile link battles 2013-11-12 01:39:41 -06:00
Bryan Bishop
2ee4938987 fix typo in PartyMenuSelect comment 2013-11-12 01:05:54 -06:00
Bryan Bishop
02d001a1f4 label CheckInMobileLinkBattle 2013-11-12 01:05:21 -06:00
Bryan Bishop
a99a205b28 labels for some battle menus 2013-11-12 00:29:26 -06:00
yenatch
42a0396b6a get rid of external song labels 2013-11-07 01:18:58 -05:00
yenatch
86cdb9e013 Merge commit 'cf966bb8' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 18:02:17 -04:00
yenatch
193dbd53a6 Merge commit '0ead58cd' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 17:57:27 -04:00
yenatch
52a6b7da8e Merge commit '946a213f' into merge-mrwint 2013-10-25 17:54:04 -04:00
yenatch
9e81c46cbf Merge commit '66ef1838' into merge-mrwint
Conflicts:
	home/map.asm
2013-10-25 17:53:16 -04:00
yenatch
933634d913 Merge commit 'da689fa7' into merge-mrwint 2013-10-25 17:45:25 -04:00
yenatch
9d02e1063f Merge commit '8b8de40' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 17:44:50 -04:00
yenatch
6ea15c444e Merge commit '650dc98b' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 17:34:45 -04:00
yenatch
a41b870dfa Merge commit '754325b2' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 17:21:20 -04:00
yenatch
15a6bd55f4 Merge commit 'e1cce1c' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 17:06:19 -04:00
yenatch
32ede188d7 Merge commit 'a0ba53e' into merge-mrwint 2013-10-25 16:55:58 -04:00
yenatch
2ca81c9d73 Merge commit 'aae33da9' into merge-mrwint 2013-10-25 16:55:41 -04:00
yenatch
4fcabdc07b Merge commit '91b822c' into merge-mrwint 2013-10-25 16:51:24 -04:00
yenatch
bd49428c4a Merge commit '789469c' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 16:48:29 -04:00
yenatch
2a08b8b7ce Merge commit '963fe48' into merge-mrwint 2013-10-25 16:41:19 -04:00
yenatch
da22ada91c Merge commit '546c17ad' into merge-mrwint
Conflicts:
	engine/scripting.asm
	main.asm
2013-10-25 16:23:16 -04:00
yenatch
7a13251d03 Merge commit '4ac6783' into merge-mrwint 2013-10-25 16:17:52 -04:00
yenatch
b8603ecb92 Merge commit 'ec77075a' into merge-mrwint
Conflicts:
	main.asm
2013-10-25 16:04:31 -04:00
yenatch
cf966bb824 rename tilemap coordinate functions 2013-10-13 02:26:42 -04:00
yenatch
0ead58cdaa fix labels for and rename GetBattleVarPair to GetBattleVar 2013-10-11 03:04:21 -04:00
yenatch
946a213f09 fix labels for SoundRestart and UpdateSound 2013-10-11 02:55:01 -04:00
yenatch
66ef183847 relabel LoadMapGroupRoof 2013-10-11 02:31:51 -04:00
yenatch
da689fa7d6 roof graphics 2013-10-11 01:43:15 -04:00
yenatch
8b8de40525 roofs for each map group 2013-10-11 01:36:11 -04:00
yenatch
650dc98be4 game freak logo 2013-10-10 03:12:02 -04:00
yenatch
754325b270 use the IntroLogoGFX label in existing asm 2013-10-10 03:02:14 -04:00
yenatch
e1cce1cfb9 fix padding in compressed intro graphics 2013-10-08 22:28:51 -04:00
yenatch
a0ba53e09d stop hardcoding the return bank for _LoadMusicByte 2013-10-08 13:37:11 -04:00
yenatch
aae33da95b fix LoadMusicByte naming scheme 2013-10-08 13:34:32 -04:00
yenatch
91b822ceb8 rename 'LoadMusic' to '_PlayMusic' 2013-10-08 13:26:05 -04:00
yenatch
789469c465 rename 'StartMusic' to 'PlayMusic' 2013-10-08 13:21:15 -04:00
yenatch
963fe4808b rename 'LoadSFX' to '_PlaySFX' 2013-10-08 13:13:35 -04:00
yenatch
546c17ad37 rename 'StartSFX' to 'PlaySFX' 2013-10-08 13:10:36 -04:00
yenatch
ec77075a47 ContestMons 2013-10-08 12:44:45 -04: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
Mr Wint
6ddd1d8b46 * fixed call and jump labels in home bank
* added some more assembly
2013-10-02 07:11:54 +02:00
Mr Wint
c666d1014a * make jumps and calls use labels 2013-10-02 06:53:35 +02:00
Mr Wint
c5ff1606f0 * last callab/callba macros 2013-10-02 03:55:40 +02:00
Mr Wint
181840cf43 * even more callab/callba macros 2013-10-02 03:20:48 +02:00
Mr Wint
eb5a7afe2b * more callab/callba macros 2013-10-02 02:47:54 +02:00
Mr Wint
fa673df4fa * applied callab/callba macros where possible
* corrected some mislabeled jump addresses
2013-10-02 01:59:16 +02:00
Mr Wint
255135d187 * extracted and added a bunch of assembly 2013-10-01 23:23:21 +02:00
yenatch
eebf069839 missed some bit2 script commands 2013-10-01 01:01:43 -04:00
yenatch
f6a5d7b2f2 split pokedex flag handling into home/pokedex_flags.asm 2013-09-18 21:54:31 -04:00
yenatch
f958ba0e6d recomment IsInArray 2013-09-18 21:48:04 -04:00
yenatch
c074231a07 move window asm into home/window.asm 2013-09-18 21:40:48 -04:00
yenatch
5a4e4bdb41 fix some farcalls in window asm 2013-09-18 21:39:14 -04:00
yenatch
5249fd9773 fix padding in .lz files for attack graphics 2013-09-18 21:31:40 -04:00
yenatch
663c523ac4 fix formatting in player pic asm 2013-09-18 21:10:25 -04:00
yenatch
48bab16ea4 move dratini special into event/dratini.asm 2013-09-18 21:04:16 -04:00
yenatch
7cef3b76de move mon icons into menu/mon_icons.asm 2013-09-18 20:58:32 -04:00
yenatch
1e56e3e9af more encounter functions 2013-09-18 20:50:42 -04:00
yenatch
ee47d6ed17 more mobile functions 2013-09-16 17:52:23 -04:00
yenatch
e770ae20b2 clean up a couple mobile function comments
nothing here is actually commented out
2013-09-16 17:42:19 -04:00
yenatch
237861b553 rename hall of fame labels 2013-09-16 17:42:11 -04:00
yenatch
9ae1cd6a1c split title screen functions into engine/title.asm 2013-09-15 18:59:53 -04:00
yenatch
0ce5c4fe93 split the mobile adapter library into lib/mobile/ 2013-09-15 18:58:37 -04:00
yenatch
013c6fc368 some time-dependent function 2013-09-15 18:17:02 -04:00
yenatch
3370a04d9e split color asm and data into engine/color.asm 2013-09-15 18:02:02 -04:00
yenatch
c3cab23cda dump a palette set at the end of bank 2 2013-09-15 17:29:53 -04:00
yenatch
dd473e565b incbin some 0s back 2013-09-15 17:24:56 -04:00
yenatch
c738318dc0 move part of an incbin into predef/cgb.asm 2013-09-15 17:08:10 -04:00
yenatch
ab91f49e3b remove some incbins in bank 2 2013-09-15 17:01:17 -04:00
yenatch
44fac4fd70 finish an old script pointer table 2013-09-12 05:37:53 -04:00
yenatch
e1c3fee926 change old .tx includes to .asm
these were forgotten about with the last preprocessor change.
this is required for object dependencies to be handled by make.
2013-09-11 01:16:33 -04:00
yenatch
84a9b3907b rename common/ to home/ 2013-09-09 22:44:48 -04:00
Bryan Bishop
33d7ef72fe Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 16:00:05 -05:00
Bryan Bishop
3a2dbb5289 Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 15:59:08 -05:00
Bryan Bishop
37e1aa4e8e Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 15:56:49 -05:00
Bryan Bishop
35324ae43f Merge branch 'yenatch/split-predefs-specials-stds' into fix-split-predefs-specials-stds
https://github.com/kanzure/pokecrystal/pull/198
2013-09-09 15:55:43 -05:00
yenatch
608d0d86e4 move name rater asm into event/name_rater.asm 2013-09-09 16:09:34 -04:00
yenatch
0fc0c0bebc name rater special 2013-09-09 15:47:32 -04:00
yenatch
429417da74 name a couple specials 2013-09-09 15:39:43 -04:00
yenatch
cc41f68c34 split sgb-to-cgb asm into predef/cgb.asm 2013-09-09 15:34:09 -04:00
yenatch
dab74d719e cgb replacements for sgb layouts 2013-09-09 15:12:30 -04:00
yenatch
e33423374b split sgb stuff into predef/sgb.asm 2013-09-09 14:33:04 -04:00
yenatch
de8e7ca422 sgb layout predef 2013-09-09 14:17:03 -04:00
yenatch
a6c7200782 CheckCGB 2013-09-09 12:56:13 -04:00
yenatch
5bbcedb886 typo in CheckContestMon 2013-09-09 12:49:26 -04:00
yenatch
2b4a5bdd8d comment flag predef
this is like FlagAction but with index c instead of de
2013-09-09 12:47:02 -04:00
yenatch
771ebcbf23 PokedexSeen and PokedexCaught were swapped 2013-09-09 02:40:27 -04:00
yenatch
106b0e139f clean up more bank 0 2013-09-09 02:26:46 -04:00
yenatch
53b7926f5e move multiplication/division functions into common/math.asm 2013-09-09 01:21:36 -04:00
yenatch
ee04a2fcd9 split more copy functions into common/copy2.asm 2013-09-09 01:11:41 -04:00
yenatch
60c1061a67 clean up some common includes and give names to wram copy functions 2013-09-09 01:10:07 -04:00
yenatch
abb7f2fa20 split Predef into common/predef.asm 2013-09-08 23:54:37 -04:00
yenatch
4778276f33 split serial handshake into common/handshake.asm 2013-09-08 23:53:04 -04:00
Bryan Bishop
6d7043c0c6 Merge pull request #197 from yenatch/master
comment some move effects
2013-09-08 20:24:26 -07:00
yenatch
9f7adeafcf ItemIsMail and comment thief move effect 2013-09-08 23:18:30 -04:00
Bryan Bishop
78a3951d47 Merge pull request #196 from yenatch/std-scripts
std scripts
2013-09-08 17:06:54 -07:00
Bryan Bishop
50232cc92b Merge pull request #195 from yenatch/predefs
predefs
2013-09-08 16:47:29 -07:00
Bryan Bishop
740f91370d Merge pull request #190 from yenatch/master
specials
2013-09-08 09:15:46 -07:00
yenatch
e7318ed4bc move double speed functions into common/double_speed.asm 2013-09-08 03:14:24 -04:00
yenatch
4a04a09a6b labels for cgb double speed functions 2013-09-08 03:12:48 -04:00
yenatch
844546f849 split sram access asm into common/sram.asm 2013-09-08 02:50:06 -04:00
yenatch
edf939a07b split Random into common/random.asm 2013-09-08 02:47:52 -04:00
yenatch
3b70005fb0 split item interfaces into common/item.asm 2013-09-08 01:45:54 -04:00
yenatch
f0cf86777b fix item asm labels
CheckItem was called PickUpItem by mistake

Also label TossItem and ReceiveItem
2013-09-08 01:43:51 -04:00
yenatch
d05adc4f98 Function2f17 -> IsInJohto 2013-09-08 00:48:12 -04:00
yenatch
705e682468 split InitString asm into common/string.asm 2013-09-08 00:22:33 -04:00
yenatch
82c3bb464f split flag action asm into common/flag.asm 2013-09-08 00:20:28 -04:00
yenatch
f513cdd888 split map engine asm into common/map.asm 2013-09-08 00:14:26 -04:00
yenatch
847843d866 rename BUTTON_A and BUTTON_B constants to A_BUTTON and B_BUTTON 2013-09-07 23:49:20 -04:00
yenatch
9f53825ce2 move common asm from engine/ to common/
engine/ was getting really bloated and common asm wasnt what it was made for
2013-09-07 23:38:19 -04:00
yenatch
7a3a4f913b split fruit tree asm out into engine/fruit_trees.asm 2013-09-07 23:26:28 -04:00
yenatch
8018614585 split type strings and related asm out into text/types.asm 2013-09-07 23:24:22 -04:00
yenatch
e13f03ae44 comment PrintMonTypes 2013-09-07 23:22:17 -04:00