GriffinR
aba42513d3
Clean up some battle scr cmd data
2020-07-18 18:10:15 -04:00
GriffinR
0c4f3b269e
Merge pull request #1083 from GriffinRichards/playse-constants
...
Use charmap constants for PLAY_SE
2020-07-15 02:53:53 -04:00
GriffinR
3c356a1d7a
Merge pull request #1082 from GriffinRichards/add-flagvarsave
...
Allow flag/var counts to be updated alongside values
2020-07-14 19:58:38 -04:00
GriffinR
6f3c792577
Merge pull request #1084 from GriffinRichards/fix-gbagfxsegfault
...
Fix segfault in gbagfx
2020-07-14 19:57:27 -04:00
GriffinR
a583dfcc42
Merge pull request #1094 from DizzyEggg/rename
...
Give proper names to some functions
2020-07-14 19:56:46 -04:00
GriffinR
c177872c9c
Merge pull request #1080 from AsparagusEduardo/EndBalls
...
Created constant for easier Ball Expansion.
2020-07-14 19:56:20 -04:00
DizzyEggg
0425cb66ef
Give proper names to some functions
2020-07-14 11:13:03 +02:00
Eduardo Quezada
b31efcd6e3
Renamed constant,
2020-07-12 01:49:32 -04:00
PikalaxALT
617e411aca
Merge pull request #1092 from PikalaxALT/ubfix
...
Fix some UB exposed with GCC 10.1.0
2020-07-11 10:32:30 -04:00
PikalaxALT
535189bf14
Fix some UB exposed with GCC 10.1.0
2020-07-11 10:22:34 -04:00
PikalaxALT
038d247e14
Merge pull request #1091 from Flametix/target
...
Replace magic number with MOVE_TARGET_BOTH
2020-07-09 15:45:36 -04:00
PikalaxALT
5a326a11f4
Merge pull request #1090 from Ryuhouji/patch-3
...
Made documentation more readable
2020-07-09 15:45:11 -04:00
Ryuhouji
8e2128f22c
Fix indentation
2020-07-09 15:36:22 -04:00
Ryuhouji
d261374044
Made documentation more readable
...
This change will make the script command documentation more user-friendly to read.
Additionally, provided the information on the 'delay' macro. I have confirmed that this
is indeed Frames and not Milliseconds. Updated the macro respectively.
2020-07-09 15:16:37 -04:00
Flametix
4ba2799849
Update pokemon.c
2020-07-09 14:52:19 -04:00
GriffinR
beeb673ba1
Merge branch 'master' of https://github.com/pret/pokeemerald into add-flagvarsave
2020-07-08 16:03:32 -04:00
PikalaxALT
ebade7affb
Merge pull request #1079 from GriffinRichards/doc-confetti
...
Document Contest Util and confetti effects
2020-07-08 16:01:27 -04:00
PikalaxALT
9ff261ac2a
Merge pull request #1078 from GriffinRichards/move-cries
...
Move Pokemon cries to own directory
2020-07-08 15:45:32 -04:00
GriffinR
431c60c92c
Merge branch 'master' of https://github.com/pret/pokeemerald into doc-confetti
2020-07-08 15:45:31 -04:00
PikalaxALT
8b80b417e2
Merge pull request #1069 from GriffinRichards/doc-link
...
Document linking
2020-07-08 15:43:45 -04:00
PikalaxALT
550875757b
Merge pull request #1087 from ipatix/fix_aggressive_loop_optimizations
...
fix aggressive loop optimizations
2020-07-08 15:42:08 -04:00
PikalaxALT
b7532903d7
Merge pull request #1089 from PokeCodec/patch-1
...
Match CreatePokeDexList
2020-07-07 21:15:49 -04:00
PokeCodec
938aec45d3
Match CreatePokeDexList
...
Cherry-picked from the pret Ruby repo
2020-07-07 20:57:20 -04:00
Michael Panzlaff
3264cf697f
fix aggressive loop optimizations
...
Previously, aggressive loop optimizations with a new compiler were not
possible due to undefined behaviour at end of arrays.
A macro "UBFIX" is added to allow ifdefs for fixes which resolve
undefined behavior. For example newer GCC versions will detect various
bugs in the original game code and will otherwise not compile with -Werror.
2020-07-05 18:09:59 +02:00
GriffinR
a35ab0d023
Fix segfault in gbagfx
2020-06-29 15:28:59 -04:00
GriffinR
7d5ad8f7b4
Use charmap constants for PLAY_SE
2020-06-26 02:44:07 -04:00
GriffinR
2ed1f7c6f9
Byte-align daily flags
2020-06-24 18:05:22 -04:00
GriffinR
06025e887f
Allow flag/var counts to be updated alongside values
2020-06-24 17:00:19 -04:00
Eduardo Quezada
7244b80fc6
Created constant for easier Ball Expansion.
2020-06-21 02:36:46 -04:00
GriffinR
8b462f3f6c
Specify confetti util name
2020-06-18 18:14:30 -04:00
GriffinR
d2a760afdb
Rename contest_link_80FC4F4, 80F57C4, and 81D9DE4
2020-06-18 18:01:32 -04:00
GriffinR
24569583e4
Document contest results
2020-06-18 17:50:13 -04:00
GriffinR
f600aff711
Rename rom_81520A8
2020-06-17 03:42:10 -04:00
GriffinR
76f6d05173
Document confetti
2020-06-17 03:39:03 -04:00
GriffinR
e507770425
Remove some unneeded link filler
2020-06-15 13:17:53 -04:00
GriffinR
4c8fd5af7c
Move Pokemon cries to own directory
2020-06-15 13:00:24 -04:00
GriffinR
c2a07276ae
Merge branch 'master' into doc-link
2020-06-13 16:15:11 -04:00
Sierra A
46f4a4bbf7
Merge pull request #1074 from Sierraffinity/item-menu-cleanup
...
Begin item_menu.c cleanup
2020-06-10 17:17:35 -07:00
Sierra A
a05eea9312
Merge pull request #1075 from Sierraffinity/master
...
Fix out of bounds array access in intro Groudon segment
2020-06-10 17:16:04 -07:00
GriffinR
a9a427c6f2
Merge branch 'master' into doc-link
2020-06-10 17:36:43 -04:00
GriffinR
2859900ea9
Second pass on documenting union room
2020-06-10 17:30:59 -04:00
Sierraffinity
452f1e0047
Fix out of bounds array access in intro Groudon segment
2020-06-10 13:27:46 -07:00
Sierra A
a7815857ad
Merge pull request #1071 from PokeCF/patch-3
...
Unnest if statements
2020-06-10 13:23:57 -07:00
Sierraffinity
74edaed426
Begin item_menu.c cleanup
2020-06-10 13:07:42 -07:00
PikalaxALT
70c5f923ad
Merge pull request #1072 from nullableVoidPtr/master
...
Match sub_80F0708
2020-06-10 09:23:38 -04:00
nullableVoidPtr
8381828571
Match sub_80F0708
...
Special thanks to @kazblox
2020-06-10 21:13:58 +08:00
PokeCF
760baec098
Unnest if statements
...
Overall, it is generally considered bad style to continually nest loops. However, if this is what the decompiler outputted, then why bother touching it?
However, this can be rewritten as returning early if the playtime is less than 60.
The reason for this is not because of the original code, but because it looks better, has the same output, and is easier to understand.
2020-06-08 17:09:54 -04:00
GriffinR
35867f531b
Some link rfu cleanup / link.c documentation
2020-06-08 15:24:25 -04:00
GriffinR
c98342c973
Document link_rfu_3.c
2020-06-08 00:28:21 -04:00
GriffinR
e6f5c4f264
Sync link_rfu_2.c
2020-06-07 12:54:50 -04:00