i0brendan0
7b67e7296a
Remove possibility of garbage characters
...
If the ds 2 that is behind OTClassName is deleted or decreased, the game will continue to display characters for trainer classes that are 12 or 13 characters long, including the @ terminator. The correct constant has been put in place and the ds 2 removed, but no one would have known it was wrong if they hadn't have removed the ds 2.
2017-08-30 20:56:11 -05:00
yenatch
8182720979
Merge pull request #380 from i0brendan0/i0brendan0-patch-1
...
Fix unused Constant for Happiness
2017-08-24 18:39:48 -04:00
i0brendan0
0e33fd74f1
Fix unused Constant for Happiness
...
The HAPPINESS_TO_EVOLVE constant is what's supposed to be used to give the number for when a Pokemon should evolve by happiness. The constant was not put in place so it is never used, instead the original 220 was put.
2017-08-24 17:29:56 -05:00
IIMarckus
80888726b9
Check some errors (not enough).
...
malloc can always fail. Check to avoid null dereference.
malloc(0) is well defined but leads to an eventual crash on some systems.
Check it too.
2017-06-29 22:45:30 -06:00
IIMarckus
2ebbe91fe8
Fix uninitialized value.
2017-06-29 22:14:12 -06:00
yenatch
8e87d5abc4
Use $(MAKE)
2017-06-29 18:34:29 -04:00
yenatch
7b3f0693d5
tools: Default to gcc.
...
This gives Cygwin users an easier time at the expense of defaulting to gcc.
2017-06-29 18:26:04 -04:00
SnDream
3c8d034a6f
pokemon_animation's variable is not initialized ( #374 )
2017-06-25 02:49:57 -04:00
yenatch
175cc6536a
Merge pull request #365 from Ben10do/tools-makefile-integration
...
Improvements to the tools and their Makefile
2017-06-24 21:03:09 -04:00
yenatch
121e931750
Add tools/gfx and tools/md5 to gitignore
2017-06-24 20:46:11 -04:00
yenatch
5dfe27125b
Merge branch 'master' into tools-makefile-integration
2017-06-24 20:42:25 -04:00
yenatch
dbaec20534
Include front.dimensions file instead of manual pic dimensions
2017-06-24 20:21:30 -04:00
yenatch
1f8bc7772b
Fix insecure fprintf
2017-06-24 19:32:35 -04:00
yenatch
60f6430d05
Merge pull request #371 from yenatch/graphics
...
Use sha1sum instead of md5sum to compare roms
2017-06-24 19:06:37 -04:00
yenatch
0fbc74a8c7
Fix implicit stdint
2017-06-24 19:02:02 -04:00
yenatch
44baefce06
Add a travis badge and remove pokered link
2017-06-24 18:56:21 -04:00
yenatch
f03b898250
Add a md5 tool to avoid md5sum dependency.
...
md5sum is missing in macOS and (presumably) BSD.
An alternative would have been to use sha1sum instead, but it's probably
a good idea to have as few dependencies as possible, so this doesn't
happen again.
fixes #364
2017-06-24 18:42:28 -04:00
yenatch
f12e42ab6d
Use SHA1 to compare roms
2017-06-24 18:32:54 -04:00
yenatch
866ca63c51
Fix a misleading define for SLP
2017-06-24 17:49:31 -04:00
yenatch
d0d61cb3ab
Merge pull request #354 from FredrIQ/comments
...
Fix a reversed label mistake and reference a major bug
2017-06-24 17:43:48 -04:00
yenatch
080704e49f
Merge pull request #370 from yenatch/graphics
...
png everywhere
2017-06-24 17:36:21 -04:00
yenatch
7d5b9bb0c4
gcc is needed in cygwin
...
- also mention the new dlls in install
2017-06-24 16:56:43 -04:00
yenatch
ed99a86864
Fix implicit getopt
2017-06-24 16:47:11 -04:00
yenatch
80f7477c33
Fix tools/gfx
2017-06-24 16:42:44 -04:00
yenatch
9b1550c5e0
Explicit rules for gfx/shrink{1,2}.2bpp
2017-06-24 16:31:42 -04:00
yenatch
bc78765298
1bpp in gitignore
2017-06-24 16:31:23 -04:00
yenatch
a20664d415
Fix gfx/misc
2017-06-24 16:30:12 -04:00
yenatch
a749057b27
Fix gfx/frames
2017-06-24 16:28:50 -04:00
yenatch
803c5154f4
pngs in gfx/unknown
2017-06-24 16:27:52 -04:00
yenatch
131bda73bc
pngs in gfx/misc
2017-06-24 02:50:42 -04:00
yenatch
89cb46a64d
pngs in gfx/mobile
2017-06-24 00:53:38 -04:00
yenatch
afc6f8033b
forgot to remove 2bpp from gfx/tilesets
2017-06-24 00:50:33 -04:00
yenatch
65809032bf
forgot to remove 2bpp from gfx/intro
2017-06-24 00:49:37 -04:00
yenatch
41ae3610f6
pngs in gfx/fx
...
- gave up on wind.png
- add --remove-yflip
2017-06-24 00:47:55 -04:00
yenatch
f42e731d76
pngs in gfx/battle
2017-06-23 20:00:11 -04:00
yenatch
1f81d1851f
pngs in gfx/
2017-06-23 19:56:24 -04:00
yenatch
a540926345
pngs in gfx/unown_puzzle
2017-06-22 23:53:57 -04:00
yenatch
89093e4670
pngs in gfx/trainers
2017-06-22 23:46:58 -04:00
yenatch
31d9c1fffa
pngs in gfx/trade
...
game_boy.png can be rearranged in a nicer way, but it's a job for another time
2017-06-22 23:45:45 -04:00
yenatch
bcb58c2939
Add --interleave to tools/gfx and refactor.
...
For images composed of 8x16 sprites.
The width has to be manually passed in. If this were an rgbgfx feature this would not be necessary.
Fixes 647f9b4452
2017-06-21 23:49:45 -04:00
yenatch
647f9b4452
pngs in gfx/title
2017-06-21 23:45:01 -04:00
yenatch
967b0898a9
pngs in gfx/tilesets
2017-06-21 00:28:48 -04:00
yenatch
1fee4eb003
pngs in gfx/stats
2017-06-21 00:14:21 -04:00
yenatch
5738567985
pngs in gfx/splash
2017-06-21 00:13:09 -04:00
yenatch
2e0344e63d
pngs in gfx/special/celebi
2017-06-21 00:12:01 -04:00
yenatch
99f6249de8
pngs in gfx/pokegear
...
- flymap_label_border.2bpp was actually 1bpp
2017-06-21 00:11:29 -04:00
yenatch
f10ed64d1a
pngs in gfx/pokedex
2017-06-20 23:42:29 -04:00
yenatch
93a3a7d3c5
Use $(if) in the makefile. Fix gfx/mail.
...
Fixes 384788f370
2017-06-20 23:36:28 -04:00
yenatch
a71005fafa
Remove debug statement from tools/gfx
2017-06-18 00:54:02 -04:00
yenatch
384788f370
pngs in gfx/mail
2017-06-18 00:13:03 -04:00