Commit Graph

127 Commits

Author SHA1 Message Date
Maruno17
25a8d727ab Rewrote phone UI code, added "CommonEvent" trainer comment for that phone contact to run instead of default phone messages, added phone signal icon to phone 2022-09-10 19:41:12 +01:00
Maruno17
ae91811537 Created folder Graphics/UI, renamed some UI graphics 2022-08-14 01:07:06 +01:00
Maruno17
b1cde2db42 Refactored some code relating to colours, trivially simplified some calculations 2022-08-13 23:59:24 +01:00
Maruno17
aa9b1a9e23 Refactored phone/rematches code, added Phone.rematches_enabled/Phone.rematch_variant/map metadata flag "NoPhoneSignal", changed event layout, trainer contacts can use Common Events for their calls, etc. 2022-08-13 16:52:42 +01:00
Maruno17
f083cddca5 def pbPhoneRegisterBattle now returns a boolean, added vowel checks to some messages in berry planting 2022-08-07 14:43:40 +01:00
Maruno17
8f73319605 Fixed evolution reviving fainted Pokémon, fixed Rare Candy not reviving a fainted Shedinja 2022-07-06 20:02:30 +01:00
Golisopod-User
ad93eb7774 Removed all uses of SpriteWrapper (#184) 2022-06-19 17:47:23 +01:00
Maruno17
3238ff817c Fixed the Bag lists having incorrect starting positions when choosing an item from a subset of your Bag 2022-06-15 20:03:43 +01:00
Maruno17
301ecb0ac7 Scents now end Hyper Mode, Time Flute now purifies a Shadow Pokémon, Shadow Pokémon now regain 80% of the Exp they missed out on, non-Scent items can't be used on Shadow Pokémon in Hyper Mode 2022-06-13 21:09:48 +01:00
Maruno17
17e386d33e Fixed def pbChooseItemFromList not storing the correct result in a Game Variable 2022-06-02 16:46:27 +01:00
Maruno17
eab69f213a Fixed error when using Rotom Catalog 2022-05-24 13:44:12 +01:00
Maruno17
fd5d3e332d Fixed moves taught via battle Debug menu not working, fixed Max Mushrooms showing the stat up animation for every stat 2022-04-24 21:06:40 +01:00
Maruno17
19e50bd507 Updated Power Green fonts, repositioned all text accordingly 2022-02-20 23:29:09 +00:00
Maruno17
f322b234c6 Added battle rule "disablePokeBalls" 2022-02-15 18:39:41 +00:00
Maruno17
f68e699cc9 More Rubocop changes 2022-02-13 00:57:54 +00:00
Maruno17
7da449aec3 Merged Events and EncounterModifier into module EventHandlers 2021-12-30 18:59:35 +00:00
Maruno17
f3c4893dbb Repels now have a flag in items.txt which determines if they can be reused when one runs out 2021-12-29 22:07:10 +00:00
Golisopod-User
13cc9790ce Minor new additions for v20 (#147)
* Moved TMs/ TRs and HMs into their own handlers
* Improved Plugin Error Message
* Added sound effect when picking berries
* Allow player to always see quantity when buying items
* Trainers now require a Mega Ring item in their items (in trainers.txt) to Mega Evolve
2021-12-29 18:36:26 +00:00
Maruno17
aa643a6049 More Rubocop 2021-12-27 00:26:45 +00:00
Maruno17
132a16950d Yet more Rubocopping 2021-12-23 00:27:17 +00:00
Maruno17
33fcbf623b More Rubocopping 2021-12-20 17:18:21 +00:00
Maruno17
65b1a8d6c3 More tweaks from the Rubocop overlord 2021-12-19 17:28:59 +00:00
Maruno17
33781493f4 More aligning of code 2021-12-19 12:19:08 +00:00
Maruno17
13a238cc6a Many more Rubocop-inspired code improvements 2021-12-18 19:06:22 +00:00
Maruno17
d17fc40a47 Added decent spacing to all scripts thanks to Rubocop 2021-12-18 15:25:40 +00:00
Maruno17
f7b76ae62e The Great Enspacening begins! 2021-12-18 12:20:31 +00:00
Maruno17
2480ab0f9e Applied most Rubocop-suggested layout fixes 2021-12-18 01:56:10 +00:00
Maruno17
2444b70ef6 Improved code for using multiples of an item at once, added a Setting for it, made it apply to more items 2021-12-12 00:10:01 +00:00
Maruno17
b9d69b780b Fixed bugs relating to followers from previous commit, fixed error in Safari Battles from previous commit 2021-12-11 01:44:44 +00:00
Maruno17
c55f1f0a2a Follower checks when using some items/moves in the field are now more specific, which should help following Pokémon scripts 2021-12-09 23:30:52 +00:00
Maruno17
c8b574ed7c Made Player Transfer event command not cancel surfing/diving, so pbTransferSurfing and pbTransferUnderwater are deprecated. 2021-11-21 19:10:16 +00:00
Maruno17
c6ecf60172 Added class GameStats, added Pokédex records for eggs seen and expanded seen_forms to include shinies 2021-11-13 23:13:28 +00:00
Maruno17
e8170a267c Fixed Exp Candies only raising happiness for one item if multiple are used at once 2021-10-31 20:54:53 +00:00
Maruno17
f3abcb7caf Obsoleted battle methods that yield battlers in favour of ones that return all of them at once 2021-10-27 22:45:34 +01:00
Maruno17
6c38f769c7 Moved initial money/storage creator's name from Settings to metadata.txt, added initial item storage contents property to global metadata, added Home property to player metadata 2021-10-25 23:07:58 +01:00
Maruno17
ca680c9feb Merged class PokemonTemp into class Game_Temp 2021-10-21 22:01:59 +01:00
Maruno17
e49cd8d498 Renamed $Trainer to $player 2021-10-20 22:57:43 +01:00
Maruno17
e7522321ad Fixed up code added by previous commit, improved scene closings when using Fly 2021-10-19 22:18:55 +01:00
Golisopod-User
e4e8e60d28 Added Flying from Town Map (#129)
* Added ability to fly from Town Map

* Refactored UI_RegionMap code
2021-10-19 20:03:22 +01:00
Maruno17
aee0595d3f Fixed another crash when removing items from the Bag 2021-10-19 13:58:19 +01:00
Maruno17
50065754a0 Fixed crash when removing items from the Bag 2021-10-19 08:39:15 +01:00
Maruno17
36ff7c4ba3 Renamed variables and methods relating to the Bag, renamed $PokemonBag to $Bag, $bag.has? can now check for a minimum quantity 2021-10-17 23:02:58 +01:00
Maruno17
56c9b69c44 Added "Name" property to map_metadata.txt, fixed map names not being translated in some cases, fixed minor things from a previous commit 2021-10-13 22:55:29 +01:00
Maruno17
f35a51f975 Rewrote and refactored follower code, fixed follower glitchiness actoss connected maps, fixed follower glitchiness around bridges 2021-10-02 22:57:54 +01:00
Maruno17
4edd06208a Moved Gen 8 item code to its proper places 2021-09-19 23:14:24 +01:00
Maruno17
d4abc6ef2b Added Eject Pack's effect 2021-09-19 23:04:29 +01:00
Maruno17
f00f030825 Added effect of Pokémon Box Link 2021-09-12 21:08:46 +01:00
Maruno17
f9c6e142e5 Added effect of Blunder Policy 2021-09-12 20:13:43 +01:00
Maruno17
df7c033a9d Tweaked Fissure's function code, added Mirror Armor's effect 2021-09-10 20:40:45 +01:00
Maruno17
86cbcad382 Added Flags property to types, abilities, species and map metadata. Added LocationFlag evolution method. 2021-09-02 19:01:16 +01:00