4707 Commits

Author SHA1 Message Date
Ariel Antonitis
87608392fc Merge branch 'romhack' into lighting 2021-06-12 00:37:06 -04:00
Ariel Antonitis
3568c2a882 Fixed bug with followers and cross-map scripting events. 2021-06-12 00:35:15 -04:00
ExpoSeed
3ed06c2cc2 Remove remaining grey and replace with gray 2021-06-10 11:36:10 -05:00
Ariel Antonitis
385c94d068 Merge branch 'romhack' into lighting 2021-06-08 17:58:29 -04:00
Ariel Antonitis
e4b9bb75e2 Merge branch 'master' into romhack 2021-06-04 23:36:21 -04:00
Ariel Antonitis
37f0684d98 Unown followers now appear as the right letter. 2021-06-04 23:35:10 -04:00
Ariel Antonitis
c267dd6ee6 Added function to check for newer emulators/hardware. 2021-06-04 23:35:04 -04:00
Ariel Antonitis
e9d01b4808 Added a non-RNG, PID-preserving way to modify pokemon nature.
(wip) Preserve shiny value when changing nature.

(WIP) Preserve shiny value.

(WIP) Preserve nature.

(WIP) Removed some debugging statements.

(WIP) Removed more debugging statements.

(WIP) Nature changing now supports Unown.
2021-06-04 22:49:20 -04:00
AJ Fontaine
2fe7184d10
Rename sText_WildPkmnAppeared2 to reflect its use
sText_WildPkmnAppeared2 is used for Legendary battles, so sText_LegendaryPkmnAppeared would be more informative.
2021-06-04 22:32:33 -04:00
Kurausukun
5c6b8ea8d6 re-add const to gEvolutionTable in daycare.c 2021-06-01 17:14:45 -04:00
Kurausukun
9f5bf65fb3 [PROBABLY LEAK-INFORMED] fix battle_transition fakematch, make
consistent use of SOME_VRAM_STORE
2021-05-31 18:12:35 -05:00
Kurausukun
2bbaf71998 [LEAK-INFORMED] fix CreateShedinja fakematch
info: the header change is required. accesses to the struct need to be
treated as non-const, even though the array must be const. thanks to
jiang for figuring this out.
2021-05-31 08:20:46 -05:00
Kurausukun
2705f2e5f4 [LEAK-INFORMED] also pretty dumb 2021-05-31 08:20:46 -05:00
Kurausukun
42021db743 [LEAK-INFORMED] literal dumbest fakematch ever 2021-05-31 08:20:46 -05:00
gAlfonso-bit
c9c5586068
Fixed ChangeBgY_ScreenOff‘s signature. (#1447)
* Fix Functions

* Fix ChangeBgY_ScreenOff signature

* Remove unneeded changes

* Fix argument mismatch

Just to get this out of the way

* Not needed

* Update palette.c
2021-05-27 07:32:09 -05:00
Kurausukun
5d5327c0b7 better match 2021-05-25 04:32:47 -04:00
Kurausukun
5ae5cf110d [LEAK-INFORMED] fix fakematch in DrawWallpaper 2021-05-25 04:03:11 -04:00
gAlfonso-bit
ff16812f99
UBFix: uninitialized variables in m4a engine and siirtc.c (#1432) 2021-05-23 09:56:37 -05:00
gAlfonso-bit
ffbbc88801
BUGFIX: battle scripts (#1436) 2021-05-23 09:35:03 -05:00
Eduardo Quezada D'Ottone
76b99e66dc Added missing Treecko from animation list. 2021-05-16 20:46:58 -04:00
ExpoSeed
a7e3da2301 pyramidWinStreas 2021-05-15 15:59:54 -05:00
ExpoSeed
361fa594b3 Various BUGFIXes and UBFIXes 2021-05-15 15:56:17 -05:00
gAlfonso-bit
ab8318cc79 Fix UB: Destoyed task is modified.
After destruction, task is no longer used, so updating its values is worthless.
2021-05-15 14:35:32 -05:00
Kurausukun
3a403dc520 [LEAK-INFORMED] fix do {} while (0) in apprentice 2021-05-13 11:29:46 -05:00
Kurausukun
e737f1f924 fix main_menu goto 2021-05-13 11:29:11 -05:00
Kurausukun
2cc38acb84 fix item.c gotos 2021-05-13 11:29:11 -05:00
Kurausukun
3b7f708eb0 fix player_pc goto 2021-05-13 11:29:11 -05:00
Kurausukun
0c7773ad75 fix mystery_gift gotos 2021-05-13 11:29:11 -05:00
Kurausukun
f0453871a2 fix battle_dome goto 2021-05-13 11:29:11 -05:00
Kurausukun
dbc1b9aacf fix goto in bike.c 2021-05-13 11:29:11 -05:00
Kurausukun
7740ca1303 replace raw values with char constants 2021-05-13 11:26:15 -05:00
Kurausukun
fa23b196a9 [LEAK-INFORMED] fix battle_interface fakematch 2021-05-13 11:26:15 -05:00
gAlfonso-bit
9a195c0fef Cherry-pick roamer bug fix from pokefirered
Adapted https://github.com/pret/pokefirered/blob/master/src/battle_main.c#L3831 to pokeemerald
2021-05-13 11:23:42 -05:00
gAlfonso-bit
3e15a3ef8f Update IsPokemonCryPlaying 2021-05-13 11:23:11 -05:00
ExpoSeed
43854664b5 Fix UB in RotatingGate_RotateInDirection 2021-05-11 10:12:01 -05:00
Flametix
a8fab62c89 Fix Substitute typo 2021-05-06 20:49:04 -04:00
Ariel Antonitis
bfe0c58326 Merge branch 'romhack' into lighting 2021-05-05 20:01:15 -04:00
Ariel Antonitis
7d420b22e8 Added affine animations for followers entering/exiting pokeball. 2021-05-05 19:58:44 -04:00
Ariel Antonitis
3201422bbb Merge branch 'master' into romhack 2021-05-04 22:14:50 -04:00
GriffinR
4206359862 Fix some object lock names 2021-05-04 01:21:50 -04:00
Ariel Antonitis
c20db9475d Fixed BlendPalettes not incrementing the destination buffer. 2021-05-04 00:49:51 -04:00
Ariel Antonitis
c9845c66ee Fixed mirage tower time blending. 2021-05-02 03:27:48 -04:00
Ariel Antonitis
7d8e63a44b Reverted 42d5fe07f and fixed rain/thunder gamma. 2021-05-02 02:55:42 -04:00
Ariel Antonitis
74a90889ac Fixed rain fade-in. 2021-05-02 02:55:42 -04:00
Ariel Antonitis
39ba328afb Optimized follower palette loading. 2021-05-02 02:55:23 -04:00
Ariel Antonitis
147e101df5 More testing of fog blending. 2021-05-02 02:55:23 -04:00
Ariel Antonitis
4a5dbcb52b Testing updating sprite palettes with weather + time. 2021-05-02 02:55:23 -04:00
Ariel Antonitis
37d0e17be4 Fixed shadow hot springs bug. 2021-05-02 02:55:23 -04:00
Ariel Antonitis
c3fdaca8e2 Fixed sandstorm shadow color. 2021-05-02 02:55:23 -04:00
Ariel Antonitis
7b59eabbcf Changed fog to be compatible with transparent shadows. 2021-05-02 02:54:55 -04:00