From 34533a9047bf661b8c5c00b3725cf61e792e8ff5 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sat, 9 Oct 2021 00:20:56 -0300 Subject: [PATCH 1/8] Adjusted the data of the Red and Blue Orbs --- src/data/items.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/items.h b/src/data/items.h index 7ac826a3b..aa0c951ba 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -3726,9 +3726,9 @@ const struct Item gItems[] = .name = _("Red Orb"), .itemId = ITEM_RED_ORB, .price = 0, + .holdEffect = HOLD_EFFECT_PRIMAL_ORB, .description = sRedOrbDesc, - .importance = 2, - .pocket = POCKET_KEY_ITEMS, + .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, }, @@ -3738,9 +3738,9 @@ const struct Item gItems[] = .name = _("Blue Orb"), .itemId = ITEM_BLUE_ORB, .price = 0, + .holdEffect = HOLD_EFFECT_PRIMAL_ORB, .description = sBlueOrbDesc, - .importance = 2, - .pocket = POCKET_KEY_ITEMS, + .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, }, From b9816f0f28713f4afbaef093ea0cc02d4754ac07 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada D'Ottone Date: Thu, 14 Oct 2021 20:38:13 -0300 Subject: [PATCH 2/8] Saftety Goggles typo for Item Expansion --- include/constants/hold_effects.h | 2 +- src/data/items.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/constants/hold_effects.h b/include/constants/hold_effects.h index 3dc4a1389..d7d74d3e1 100644 --- a/include/constants/hold_effects.h +++ b/include/constants/hold_effects.h @@ -130,7 +130,7 @@ // Gen6 hold effects #define HOLD_EFFECT_FAIRY_POWER 139 #define HOLD_EFFECT_MEGA_STONE 140 -#define HOLD_EFFECT_SAFETY_GOOGLES 141 +#define HOLD_EFFECT_SAFETY_GOGGLES 141 #define HOLD_EFFECT_LUMINOUS_MOSS 142 #define HOLD_EFFECT_SNOWBALL 143 #define HOLD_EFFECT_WEAKNESS_POLICY 144 diff --git a/src/data/items.h b/src/data/items.h index 7ac826a3b..02fc2ccab 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -6336,7 +6336,7 @@ const struct Item gItems[] = .name = _("SafetyGoggles"), .itemId = ITEM_SAFETY_GOGGLES, .price = 4000, - .holdEffect = HOLD_EFFECT_SAFETY_GOOGLES, + .holdEffect = HOLD_EFFECT_SAFETY_GOGGLES, .description = sSafetyGogglesDesc, .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, From d31700d2aca4dbaffb677a0242cb0ef5025f9b8f Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sat, 23 Oct 2021 13:49:02 -0300 Subject: [PATCH 3/8] Replaced the Red and Blue Orbs' sprites --- graphics/items/icon_palettes/blue_orb.pal | 30 +++++++++++----------- graphics/items/icon_palettes/red_orb.pal | 26 +++++++++---------- graphics/items/icons/blue_orb.png | Bin 0 -> 299 bytes graphics/items/icons/orb.png | Bin 264 -> 0 bytes graphics/items/icons/red_orb.png | Bin 0 -> 309 bytes include/graphics.h | 3 ++- src/data/graphics/items.h | 3 ++- src/data/item_icon_table.h | 4 +-- 8 files changed, 34 insertions(+), 32 deletions(-) create mode 100644 graphics/items/icons/blue_orb.png delete mode 100644 graphics/items/icons/orb.png create mode 100644 graphics/items/icons/red_orb.png diff --git a/graphics/items/icon_palettes/blue_orb.pal b/graphics/items/icon_palettes/blue_orb.pal index 9f061a800..1f07de0f2 100644 --- a/graphics/items/icon_palettes/blue_orb.pal +++ b/graphics/items/icon_palettes/blue_orb.pal @@ -1,19 +1,19 @@ JASC-PAL 0100 16 -180 180 180 -49 49 49 -106 115 230 -156 156 222 -74 82 197 -57 65 148 -205 205 255 -255 255 255 -0 0 0 -0 0 0 -0 0 0 -0 0 0 -0 0 0 -0 0 0 -0 0 0 +255 126 0 +48 48 48 +136 160 248 +104 128 248 +72 104 240 +240 240 248 +168 184 248 +128 208 248 +48 72 192 +248 248 248 +224 248 248 +232 248 248 +40 40 168 +184 248 248 +80 152 248 0 0 0 diff --git a/graphics/items/icon_palettes/red_orb.pal b/graphics/items/icon_palettes/red_orb.pal index dfbaa5cf3..486e32e8c 100644 --- a/graphics/items/icon_palettes/red_orb.pal +++ b/graphics/items/icon_palettes/red_orb.pal @@ -1,19 +1,19 @@ JASC-PAL 0100 16 -180 180 180 -49 49 49 -230 115 106 -222 156 156 -197 82 74 -148 65 57 -255 205 205 -255 255 255 -0 0 0 -0 0 0 -0 0 0 -0 0 0 -0 0 0 +255 126 0 +48 48 48 +248 248 248 +248 88 112 +248 128 128 +248 40 56 +248 216 216 +216 32 56 +176 32 56 +248 136 72 +248 224 96 +144 24 64 +248 200 96 0 0 0 0 0 0 0 0 0 diff --git a/graphics/items/icons/blue_orb.png b/graphics/items/icons/blue_orb.png new file mode 100644 index 0000000000000000000000000000000000000000..14374bf1d6e92205bcca88c3d6cee29efa321740 GIT binary patch literal 299 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaN3?zjj6;1;wmUKs7M+SzC{oH>NS%G}r0G|-o z|8)!o1_m7qeq=QK@W}Y^;lqy=JAO1=_+j92;Kz?24}Sc3@#BYv22kurz>FW!i@oOp zH8Pe2`2{mLJiCzwODcv15G(^D-tFPGFzP!5eI5R@Ugz z*|tn|=alUZOI!{crSFwIyNTC;g!VHE!$M5?$|M>p-60ZO!>#g!gV{Y z?3&Y9&{N_aNS%G}@0G|-o z|8)!o1_nQXAfn($L&FaZiyt>`+)%LCpkVQ%!{f(;gb5N3KTaeZ?>a3E)WTR2 Date: Tue, 26 Oct 2021 14:42:06 +1300 Subject: [PATCH 4/8] Add missing berry data Certain gen 4+ berries were missing graphics and berry data. Adding this data allows them to be viewed and planted. --- graphics/berries/custap.png | Bin 0 -> 527 bytes graphics/berries/jaboca.png | Bin 0 -> 512 bytes graphics/berries/kee.png | Bin 0 -> 589 bytes graphics/berries/maranga.png | Bin 0 -> 568 bytes graphics/berries/micle.png | Bin 0 -> 383 bytes graphics/berries/rowap.png | Bin 0 -> 565 bytes .../object_events/pics/berry_trees/custap.png | Bin 0 -> 669 bytes .../object_events/pics/berry_trees/jaboca.png | Bin 0 -> 693 bytes .../object_events/pics/berry_trees/micle.png | Bin 0 -> 627 bytes .../object_events/pics/berry_trees/rowap.png | Bin 0 -> 665 bytes include/graphics.h | 12 ++ src/berry.c | 120 ++++++++++++++++++ src/data/graphics/berries.h | 12 ++ .../berry_tree_graphics_tables.h | 80 ++++++++++-- .../object_events/object_event_graphics.h | 4 + src/item_menu_icons.c | 12 +- 16 files changed, 222 insertions(+), 18 deletions(-) create mode 100644 graphics/berries/custap.png create mode 100644 graphics/berries/jaboca.png create mode 100644 graphics/berries/kee.png create mode 100644 graphics/berries/maranga.png create mode 100644 graphics/berries/micle.png create mode 100644 graphics/berries/rowap.png create mode 100644 graphics/object_events/pics/berry_trees/custap.png create mode 100644 graphics/object_events/pics/berry_trees/jaboca.png create mode 100644 graphics/object_events/pics/berry_trees/micle.png create mode 100644 graphics/object_events/pics/berry_trees/rowap.png diff --git a/graphics/berries/custap.png b/graphics/berries/custap.png new file mode 100644 index 0000000000000000000000000000000000000000..a5b89427c74ddcfd750b35c2a9315513b46dc752 GIT binary patch literal 527 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDB3?!H8JlO)I*h@TpUD=NS%G|m0G|-oDet}o1qJQx5%_!miRx|3j`PEO{{)hWH9-&vP^2&>%u6200te5!~5`OfO|3yjt6&>?#n_ua8&C7gg zS;lRKzJuE@My$D2ekjJ!;>&~RnK7oX!S)A1v zERILX)~wKM2<6#UTi?8s{aV)ZsuPTC#%ib9^jo4e=JHSFJ|L&D?G#(VIi}x28=3VV z?qcVgEHvls>Kohsl`IX_b5L&k#Pp!ue70i8I_<=}cc0moCV!l7v%kH%z4GXdGCok4 Ndb;|#taD0e0s#1Q(BS|8 literal 0 HcmV?d00001 diff --git a/graphics/berries/jaboca.png b/graphics/berries/jaboca.png new file mode 100644 index 0000000000000000000000000000000000000000..42815ea4a946ed2c3a194ed8d025b30970931ffe GIT binary patch literal 512 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDB3?!H8JlO)I*h@TpUD=!lvI6-A0X`wFQ{H{cPS)&6HtcE9+}q={cB$sMV}{?Kd;R~vw!&XMCx zWWapxwFZ#SnB?v5!qCAg>j7k|c)B=-RLr@0aid?0g8*B?hgGj5I5&nq=6;Z}VE>JX zJT+#12eCJ2-+o~0p4-~m|5~YYd$)UHa?$MxZ>Hb)lryFYeuTNZ(Ie)KPbuYv1C_ zmr@l&!~%}UuR1a%QMIKlOOfGCmB@2YvH?N@Ankz1>O&3H=YAM+ahb4Aa7 o%v(Br*2GQm8x~mYuIGHsy~He5bHjlX)}X-jboFyt=akR{00Lsk$^ZZW literal 0 HcmV?d00001 diff --git a/graphics/berries/kee.png b/graphics/berries/kee.png new file mode 100644 index 0000000000000000000000000000000000000000..1c83b65b1943a2fc373ad1b59dd70662352c3394 GIT binary patch literal 589 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDB3?!H8JlO)I*h@TpUD=!lvI6-A0X`wFQ;r^WD>N?K7&h}OZ} z@0$OwY5*#SfF0ZTWq>TkByV?@|4Z3F9R;!rJzX3_D&}0BWSG}%AksFMqs+n9A@`V1 zr@NTYMCk`AwhV5z4i#Tm%JeTxIXBlxO?mq3>O5|>Q;fINBRBm!e}A)K+MD`oF&)2u zE_(m?gzwSC{08sWd%Is+s{ch?amf>ty+!*ks!rAPcPU}kh+i9Kb1bJ$@}NxdOs+L5 zN!)_HZZgRc35D}2nwxMa(GDc&gI#|u*L7= zLB{Y$?pN#;Chy^r_CS{4V##!%(#0 zlzKz%#~67pMv)%XfARbVtIs|EtbT6tN#mPZG4(pdOp~t*h`iV_=j@FwA8MbyIe%Sz X#?0lX-+jL128t6;S3j3^P6kF1`3In zxJHx&=ckpFCl;kLxcj&OjZr8|EmAPnGbwCc@(`$mqolyk9VlZAWHWd*XvzaAmUKs7 zM+SzC{oH>NS%G|m0G|-oDc`=Cn`k_F(y@J0SyPGWmNj})`VG?}w5Cr^@U)Y!D)*bv zkN{K*2U};}0-4X4%wCG z3J(3b4h3~TmL7Vb`JQQmM#B8`M_ddVi}$ws_+;)dkF!n>t2A5AwtVifj|TPu&DYP) zP`%o1T;MGf;_*Ie!E|M&Db|dSuNO|TVZHi9k?qtx*;_{ft5=?rJ?7S@sPG|n!Gs;F zuRVI(!SHlzrtBo9l`)qe$vyVvW#rQN$mXx8JfX#)+U@Sc`0Yit6TSPGw=(bN&UhlW z;NbeYU6=dWQXZ_G6sD^;+iSJfl%~hM+M18^<|N-W)?PEE+mz8f-tmLvI(CKa2M^ud z$o8YAj73FBX1i$vuc?a79z})**^7~um4Aekhdzi#ia3%K{Kq2$)u%_aAkBm6JjKWonQs9kXKj2+UT81QuUb6Mw<&;$U)qv9U` literal 0 HcmV?d00001 diff --git a/graphics/berries/micle.png b/graphics/berries/micle.png new file mode 100644 index 0000000000000000000000000000000000000000..bbe6011b4490e80726f759920a6e9c2a06e2eb3d GIT binary patch literal 383 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDB3?!H8JlO)I*h@TpUD=!lvI6-A0X`wF=gz$ksxlR^5hfw!0Re*nc9 zlf2zs{x4(5tcVNt=3-FaPa5bZievQyW#y! y)_vmNp3axbkP2Zai?3-AO4?YXc65vR-$mjRSEwa^k!a)q`N`AO&t;ucLK6V_A%n&M literal 0 HcmV?d00001 diff --git a/graphics/berries/rowap.png b/graphics/berries/rowap.png new file mode 100644 index 0000000000000000000000000000000000000000..bbeee3f3b4608f8daae62c16537a0c0da84bbb7b GIT binary patch literal 565 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDB3?!H8JlO)I*h@TpUD=-L1;O^rBG)AE;wMfBO&!n(*$wQzLj*!LpeYZeSkfJR z9T^xl_H+M9WCijK0(?STj~+d`v{>`p(&Cn6OU;%R!|ZIsIa?KvJ)bhiY3tsod(Y=Y zegCiM?hY~r3=VWj*a8`hN#5=*|Ch3VItpY*db&7L@q))fTbU+ID+qI*wtlWpV6#bEx2eFs=aD`u zb_#AhGyB?Woo?+~eCW6V2mE<19-Nkf`r%`>q!E|*RfW&R&V zUi<7y4PVY=ziKh5yyRW)9m};3`L)sfQb%W|f*J4Ku1);)_K6bX zwB>nv=XUyC(LJ&tE+k&>(E9oNW}MGbuwV6=ecR-Y8y`MKT?GZbr>mdKI;Vst0HEON AqW}N^ literal 0 HcmV?d00001 diff --git a/graphics/object_events/pics/berry_trees/custap.png b/graphics/object_events/pics/berry_trees/custap.png new file mode 100644 index 0000000000000000000000000000000000000000..3cb5ccfb10cd4f2869efdf9560f2f96f7752b5eb GIT binary patch literal 669 zcmV;O0%HA%P)er2o~l|HYKvlyiGQL28Sv zIZ9#(5Fpiaq@+P}QXoOq)zyoOltDpK|Ns90001r;HI_$Etq-3Y3gAfDB6+>_vH^4$bh%z=&>3$-er2o~l|HYKvlyiGQLI0$* z)oOc-K~j{(_F9X*5HV7;q+)w>K{+`X|Ns900013rp2q+H00Cl4M@0Xn2lB-L00G%a zL_t(|ob8i8YAZ1i#?=`_nn#Y1Be?TDMh~`drwPmfY)Ij=YzUgbKzs(*!MQ-N%V2P! zGrVuKHayl&AYF>6@VDQ3{`^MLhVZ+7>au>&XxIIC#U#T+;r^PxOrXwdSzoC4;$wdS zR4A3yN0LlJa^bz?In7#qrj$K^GahB^8=IWr8vy(2V-uFKZwZYtT6D(9sF%TNuHDG{ z3>d~4LrFR?r$Swls6vD>&pw#JBhH6$MkKH^PRbGiBamY?abN3$Adnw#u^Fap9T;0yMP7)w&)Fer2o~l|HYKvlyiGQLCwwH zoSeN%N_%s?06}{I5IF$NVoH=bDN+ys|Ns90001$F0&@TW00Cl4M?`Z$2|dmL00Eat zL_t(|ob8dZZrd;rhB>(-pQ;@@St5`{U33RzC@1m&57Ki~dt*C8`c^iOf#G5a$k6K@ zl{S%GBx?$k%Xc4eKTkXv^Z&fpWAm~&_lt9Cmc_YW3^+A<6KAft_~Va-znD~iS<=drE22YC}oz$@EZD%=lB*-BfZzTr3JEszV-6QBHgt27p) zi}{(%0A7ET@-HrHor}{<>w0DmQV4V>XD*HX=qLGhE7Xxp0d#wYf+xOoS!X}>dX=!1 zzy}H#%}i=8-K+>AeR(Fv_Ekz_#5ph%-k??lFSx?jshvx%-r&D~egUsNUS{^HkpKVy N002ovPDHLkV1g@{1_%HE literal 0 HcmV?d00001 diff --git a/graphics/object_events/pics/berry_trees/rowap.png b/graphics/object_events/pics/berry_trees/rowap.png new file mode 100644 index 0000000000000000000000000000000000000000..a0814bfa2e6f79b89584543968a0811b98f34b95 GIT binary patch literal 665 zcmV;K0%rY*P)er2o~l|HYKvlyiGQL28Sv zIZ9#(5Fpiaq@+P}QXoOq)zyoOltDpK|Ns90001r;HBcRRzA)Y6V3ZEe}q_Hdi z727VB&8Ly(y?LbAH2>E>vw%tke^ujB-!4TYAK+s$rOvrDszWx9{c~ndMJ88eOk~RY zRO>r`6VqUQ$b@V-47QruVzA#n5`;X?2+0SU&cMMd+MhIA2cnPHJ(in7*<>(Z>v1L% zXndK^fw_OvJ&z@;bsfRkM4?iUtdRx3*1<)v;AM7^j`{=^;Pd0vN(VO@5k@i;d^2F2 zzt#W<=TQXM9e>!?f$aMmilvMf!br`V8#t2V!-YEs58@F$L8VUbEJ_BpW3nXz3zD(y z;8dca2YKes^+IEX97#6jxsfNCA|MJKXEU6!6T!BV1`b{Yk@!&>X^{8L;D`pt6FF$_ z Date: Tue, 26 Oct 2021 16:45:49 +1300 Subject: [PATCH 5/8] Fix long descriptions Just noticed some of these didn't fit in the box. --- src/berry.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/berry.c b/src/berry.c index b1339cb60..ff783a6e7 100644 --- a/src/berry.c +++ b/src/berry.c @@ -148,12 +148,12 @@ static const u8 sBerryDescriptionPart1_Chilan[] = _("It can be made into a whist static const u8 sBerryDescriptionPart2_Chilan[] = _("produces an indescribable sound."); static const u8 sBerryDescriptionPart1_Roseli[] = _("In nature, they grow in wide rings"); static const u8 sBerryDescriptionPart2_Roseli[] = _("for reasons that are still unknown."); -static const u8 sBerryDescriptionPart1_Micle[] = _("It has the effect of making other food"); -static const u8 sBerryDescriptionPart2_Micle[] = _("eaten at the same time taste sweet."); -static const u8 sBerryDescriptionPart1_Custap[] = _("The flesh underneath the Custap Berry's"); -static const u8 sBerryDescriptionPart2_Custap[] = _("skin is sweet and creamy soft."); +static const u8 sBerryDescriptionPart1_Micle[] = _("It makes other food eaten at the"); +static const u8 sBerryDescriptionPart2_Micle[] = _("same time taste sweet."); +static const u8 sBerryDescriptionPart1_Custap[] = _("The flesh underneath the Custap"); +static const u8 sBerryDescriptionPart2_Custap[] = _("Berry's skin is sweet and creamy soft."); static const u8 sBerryDescriptionPart1_Jaboca[] = _("The drupelets that make up this berry"); -static const u8 sBerryDescriptionPart2_Jaboca[] = _("pop rythmically if it's handled roughly."); +static const u8 sBerryDescriptionPart2_Jaboca[] = _("pop rythmically if handled roughly."); static const u8 sBerryDescriptionPart1_Rowap[] = _("People once worked top-shaped pieces"); static const u8 sBerryDescriptionPart2_Rowap[] = _("of this berry free to use as toys."); static const u8 sBerryDescriptionPart1_Kee[] = _("A berry that is incredibly spicy at"); From 10a3c8f119c8540f5822d170fda781a8891e98df Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Thu, 4 Nov 2021 17:11:10 -0300 Subject: [PATCH 6/8] Added an item config for the Soul Dew --- include/constants/item_config.h | 1 + src/data/items.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/include/constants/item_config.h b/include/constants/item_config.h index 59f3ceb39..89ec0dda4 100644 --- a/include/constants/item_config.h +++ b/include/constants/item_config.h @@ -18,6 +18,7 @@ #define I_KEY_ESCAPE_ROPE GEN_7 // In Gen8, Escape Rope became a Key Item. Keep in mind, this will make it free to buy in marts. #define I_LEGACY_HEALING_ITEMS GEN_7 // In Gen7+, certain healing items recover less HP than they used to. #define I_SITRUS_BERRY_HEAL GEN_7 // In Gen4+, Sitrus Berry was changed from healing 30 HP to healing 25% of Max HP. +#define I_SOUL_DEW_BOOST GEN_7 // In Gens3-6, Soul Dew boosts the stats of Lati@s by 50%. In Gen7+ it boosts the power of their Psychic and Dragon type moves by 20% instead. // Ball config #define I_LURE_BALL_MODIFIER GEN_7 // In Gen7+, Lure Ball's catch multiplier is x5 instead of x3. diff --git a/src/data/items.h b/src/data/items.h index 8e2843ada..d0d2861bc 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -2724,6 +2724,11 @@ const struct Item gItems[] = .name = _("Soul Dew"), .itemId = ITEM_SOUL_DEW, .price = 0, + #if defined(BATTLE_ENGINE) && I_SOUL_DEW_BOOST >= GEN_7 + .holdEffectParam = 20, + #elif defined(BATTLE_ENGINE) && I_SOUL_DEW_BOOST <= GEN_6 + .holdEffectParam = 50, + #endif .holdEffect = HOLD_EFFECT_SOUL_DEW, .description = sSoulDewDesc, .pocket = POCKET_ITEMS, From 05c7f7ebfb2a2f2d80f97d338eb5fdf1249f909c Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Fri, 5 Nov 2021 10:39:27 -0300 Subject: [PATCH 7/8] Fixed the comment for I_SOUL_DEW_BOOST --- include/constants/item_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/constants/item_config.h b/include/constants/item_config.h index 89ec0dda4..ab46849ce 100644 --- a/include/constants/item_config.h +++ b/include/constants/item_config.h @@ -18,7 +18,7 @@ #define I_KEY_ESCAPE_ROPE GEN_7 // In Gen8, Escape Rope became a Key Item. Keep in mind, this will make it free to buy in marts. #define I_LEGACY_HEALING_ITEMS GEN_7 // In Gen7+, certain healing items recover less HP than they used to. #define I_SITRUS_BERRY_HEAL GEN_7 // In Gen4+, Sitrus Berry was changed from healing 30 HP to healing 25% of Max HP. -#define I_SOUL_DEW_BOOST GEN_7 // In Gens3-6, Soul Dew boosts the stats of Lati@s by 50%. In Gen7+ it boosts the power of their Psychic and Dragon type moves by 20% instead. +#define I_SOUL_DEW_BOOST GEN_7 // In Gens3-6, Soul Dew boosts Lati@s' Sp. Atk and Sp. Def by 50%. In Gen7+ it boosts the power of their Psychic and Dragon type moves by 20% instead. // Ball config #define I_LURE_BALL_MODIFIER GEN_7 // In Gen7+, Lure Ball's catch multiplier is x5 instead of x3. From ab2dab9d050290f5a2ed7b33742e5df4b094e90a Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Fri, 5 Nov 2021 17:42:12 -0300 Subject: [PATCH 8/8] Gave a holdEffectParam to the Adamant, Lustrous and Griseous Orbs --- src/data/items.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/data/items.h b/src/data/items.h index d0d2861bc..4ef2799b4 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -5327,6 +5327,9 @@ const struct Item gItems[] = .name = _("Adamant Orb"), .itemId = ITEM_ADAMANT_ORB, .price = 0, + #if defined(BATTLE_ENGINE) + .holdEffectParam = 20, + #endif .holdEffect = HOLD_EFFECT_ADAMANT_ORB, .description = sAdamantOrbDesc, .pocket = POCKET_ITEMS, @@ -5339,6 +5342,9 @@ const struct Item gItems[] = .name = _("Lustrous Orb"), .itemId = ITEM_LUSTROUS_ORB, .price = 0, + #if defined(BATTLE_ENGINE) + .holdEffectParam = 20, + #endif .holdEffect = HOLD_EFFECT_LUSTROUS_ORB, .description = sLustrousOrbDesc, .pocket = POCKET_ITEMS, @@ -5351,6 +5357,9 @@ const struct Item gItems[] = .name = _("Griseous Orb"), .itemId = ITEM_GRISEOUS_ORB, .price = 0, + #if defined(BATTLE_ENGINE) + .holdEffectParam = 20, + #endif .holdEffect = HOLD_EFFECT_GRISEOUS_ORB, .description = sGriseousOrbDesc, .pocket = POCKET_ITEMS,