Commit Graph

3313 Commits

Author SHA1 Message Date
Remy Oukaour
c659823761 Copy @henrxv's anim_obj documentation to docs/move_anim_commands.md (closes #399) 2017-12-25 14:40:30 -05:00
Remy Oukaour
1ea988b8a4 Expand assembly documentation 2017-12-25 14:33:18 -05:00
Remy Oukaour
e34e68095d Resolve #428: Use HIGH(X) and LOW(X) instead of X / $100 and X % $100 or X >> 8 and X & $ff 2017-12-25 14:23:16 -05:00
Remy Oukaour
da2b01a36c Clean up color/palette code 2017-12-25 12:41:31 -05:00
yenatch
ec8c9688ce move rst.asm and interrupts.asm into home/ 2017-12-24 21:47:11 -05:00
yenatch
8b4b97fba5 remove the vagrantfile
i wonder if anyone actually used this
2017-12-24 21:39:39 -05:00
yenatch
1d8cab0ce3 fix readme link spacing 2017-12-24 21:36:59 -05:00
yenatch
e5461a46ea add faq/docs links to the readme 2017-12-24 21:28:26 -05:00
yenatch
c95b67dd71 fix markdown reference links 2017-12-24 21:27:20 -05:00
yenatch
6a292161a6
Merge pull request #427 from pret/music-documentation
Music command documentation
2017-12-24 21:06:54 -05:00
froggestspirit
0a853dc1d3 Music documentation 2017-12-24 21:01:26 -05:00
yenatch
0a8412ebaa
Merge pull request #406 from yenatch/style-guide
style guide
2017-12-24 20:37:57 -05:00
yenatch
d87a231b72 use realistic values for hardware/hram constant examples 2017-12-24 20:34:40 -05:00
yenatch
25ddc72851
Merge pull request #422 from mid-kid/footprints
Split all of the footprints
2017-12-24 20:30:10 -05:00
yenatch
c2a7216d9b
Merge pull request #424 from roukaour/master
Rename a routine and some maps; remove all code from main.asm
2017-12-24 20:29:55 -05:00
Remy Oukaour
c6b12b07b3 Group Pokérus files in engine/pokerus/ 2017-12-24 20:11:03 -05:00
Remy Oukaour
aeee49d29b Change a few Unknown labels 2017-12-24 20:07:23 -05:00
Remy Oukaour
148fd299f9 Add more constants for some maximum values 2017-12-24 19:49:57 -05:00
Remy Oukaour
7d4486e6a3 Remove all code from main.asm (some labeled INCBINs, like out-of-context graphics, are still present)
engine/routines/ stores isolated out-of-context routines as individual files. It might be preferable later to append them to their related engine/ files in unique little SECTIONs, relying on the linkerscript to place them appropriately; or some other organization method. In the meantime, they're now easily findable apart from main.asm's other content.
2017-12-24 19:35:35 -05:00
Remy Oukaour
15f1fc7c6c Correct link 2017-12-24 18:41:11 -05:00
Remy Oukaour
e80dba3915 Start documentation for assembly language
Note: Resolved #340, #381, and #393 previously.
2017-12-24 18:40:20 -05:00
Remy Oukaour
1522140e41 Clarify why G/S egg moves were removed (resolves #294) 2017-12-24 18:23:24 -05:00
Remy Oukaour
040aa7cb17 LoadEDTile → CopyTilemapAtOnce (fix #345) 2017-12-24 18:11:17 -05:00
Remy Oukaour
0a1fef45fd Rename maps:
- Underground -> UndergroundPath
- Route5UndergroundEntrance -> Route5UndergroundPathEntrance
- Route6UndergroundEntrance -> Route6UndergroundPathEntrance

- WarehouseEntrance -> GoldenrodUnderground
- UndergroundWarehouse -> GoldenrodUndergroundWarehouse
- UndergroundPathSwitchRoomEntrances -> GoldenrodUndergroundSwitchRoomEntrances
2017-12-24 18:06:12 -05:00
yenatch
0b8b6f9259 Use PSYCHIC_M for the Psychic TM.
Fixes #385
2017-12-24 17:54:24 -05:00
yenatch
e400fe5142
Merge pull request #423 from roukaour/master
Fix issues #262, #345, #347, #396, #408, and #412
2017-12-24 17:39:50 -05:00
Remy Oukaour
3e7f3bbeb6 s/number/scene/, and correct some documentation 2017-12-24 17:35:33 -05:00
Remy Oukaour
b805d343f3 Merge branch 'master' of https://github.com/pret/pokecrystal 2017-12-24 17:30:29 -05:00
yenatch
70e6b5947b
Merge pull request #417 from mid-kid/master
mid-kid's patches
2017-12-24 16:57:20 -05:00
Remy Oukaour
ef9090b9a0 Update documentation to match renaming 2017-12-24 15:09:28 -05:00
Remy Oukaour
9973e43d5a Fix issue #345:
- GetMonFrontpic → GetEnemyMonFrontpic
- GetMonBackpic → GetBattleMonBackpic
- FrontpicPredef → GetAnimatedFrontpicPredef
- GetFrontpic → GetMonFrontpic
- GetBackpic → GetMonBackpic
- CutAndPasteMap → PadMapForHDMATransfer
2017-12-24 15:03:20 -05:00
Remy Oukaour
4e5fd7a521 Merge branch 'master' of https://github.com/pret/pokecrystal 2017-12-24 14:33:37 -05:00
Remy Oukaour
c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00
yenatch
8a8b96138b remove redundant 2bpp/1bpp files 2017-12-24 13:58:17 -05:00
Remy Oukaour
20d6c1d876 Rename "map permissions" to "map environment" (fix #396) 2017-12-24 13:08:38 -05:00
Remy Oukaour
10a1e6c860 Support old one-argument sound_duty macro, similar to callab/callba legacy support 2017-12-24 12:52:05 -05:00
Remy Oukaour
c66d195089 callba/callab → farcall/callfar 2017-12-24 12:47:30 -05:00
mid-kid
cbec3771e2 Misc fixes for the usage of constants
Several improvements that will make it easier to edit some data
structures for everyone.
2017-12-24 14:42:13 +01:00
mid-kid
21607bdd1f HELD_TRADE_EVOLVE -> HELD_FLINCH
This item effect effectively causes the target to flinch (sometimes).
It's not exclusive to trade evolve items in later generations either.
2017-12-24 14:42:05 +01:00
mid-kid
6158eb0829 Split all of the footprints
Split all the footprints into separate files in `gfx/footprints/`. Makes them
easier to edit and find for most people.
2017-12-24 14:40:48 +01:00
yenatch
d787c66374
Merge pull request #420 from surskitty/master
Partial Phone Script Labels
2017-12-23 17:20:21 -05:00
yenatch
c51968f0de Merge remote-tracking branch 'origin/master' into master 2017-12-23 17:14:09 -05:00
yenatch
8780920049
Merge pull request #419 from roukaour/master
More reorganization and documentation
2017-12-23 13:17:46 -05:00
Remy Oukaour
3c37bfc6fa Correct address comment 2017-12-23 12:17:11 -05:00
Remy Oukaour
82a8228e67 Keep images within repo 2017-12-23 12:08:34 -05:00
Remy Oukaour
2309396c88 Don't keep commented-out SECTION headers 2017-12-23 11:47:28 -05:00
Remy Oukaour
1d2df3bba1 Some more WRAM cleanup 2017-12-23 11:34:55 -05:00
Remy Oukaour
2f9f2317a3 Document the meaning of hour and daytime values for person_events 2017-12-23 01:19:34 -05:00
Remy Oukaour
aa97752efe Move NUM_BUENA_PRIZES to event/buena.asm (still hard-coded)
Buena_PrizeMenu has "rept NUM_BUENA_PRIZES", which needs NUM_BUENA_PRIZES to be already defined. BuenaPrizeItems and BuenaPrizeItemsEnd are needed to define NUM_BUENA_PRIZES; but BuenaPrizeItems is defined after Buena_PrizeMenu. I don't see a way to avoid hard-coding its value of 9.

Contrast that with the NUM_MOM_ITEMS constants, which are not used as "rept" arguments and so can be defined within their code file.
2017-12-23 00:31:04 -05:00
Remy Oukaour
daa071451d More comments for constant<->table correspondences 2017-12-22 23:08:55 -05:00