Commit Graph
100 Commits
Author SHA1 Message Date
Maruno17 cfb870c944 Added AI objects for trainers, battlers and the move being assessed, logging battle messages now also echoes them to the console 2022-08-22 21:37:33 +01:00
Maruno17 b094a2fd8e Reapplied various AI changes from previous atempt at improving the AI, split function code move score changes into handlers 2022-08-21 15:59:49 +01:00
Maruno17 4075204038 Merge branch 'dev' into ai 2022-08-19 21:41:09 +01:00
Maruno17 18ffd4fb94 Fix to colour-stringifying methods 2022-08-19 21:40:46 +01:00
Maruno17 963d2a515b Merge branch 'dev' into ai 2022-08-19 21:37:14 +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 c79b970d6b Fixed error when shifting Pokémon at the end of a battle round, fixed Giratina's form code crashing if the current map doesn't have metadata, fixed item sell prices being halved twice 2022-08-13 16:29:48 +01:00
Maruno17 1d2f13f9c5 Entered dev version for v21 2022-08-10 21:16:17 +01:00
Maruno17 5ff0c04eed Added Marin's AI as a reference 2022-08-10 18:38:20 +01:00
Maruno17 eeeb9b3494 Added old AI references/rewrite attempt as references 2022-08-09 19:35:45 +01:00
Maruno17 a20f378b33 Minor tweaks 2022-08-09 19:30:27 +01:00
Maruno17 b2ddedbce1 Reduced the work done when updating the sprites of events without a graphic 2022-08-07 16:29:29 +01:00
Maruno17 6542d505a6 The player now dismounts the Bicycle after various map transfers 2022-08-07 16:07:37 +01:00
Maruno17 cca414a826 Bug Contest maps can now be defined using a map metadata flag 2022-08-07 15:00:40 +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 b423f34da6 Returning to the title screen now fades out the overworld first 2022-08-07 14:39:10 +01:00
Maruno17 f22707f2f1 Fixed being unable to set the player's movement speed during a move route 2022-08-07 14:27:39 +01:00
Maruno17 3c748c9d68 Fixed play time carrying over to new games, fixed Eerie Spell thinking it's a status move, fixed text positionings in Pokédex and naming screen, fixed Channeler typo 2022-08-07 14:21:30 +01:00
Maruno17 757798c8a8 Summary screen now uses only the first Regional Dex to determine Dex No. if the National Dex is locked 2022-07-10 19:16:11 +01:00
Maruno17 72e45ab137 Fixed error when getting terrain tag when the player moves between connected maps 2022-07-10 19:05:54 +01:00
Maruno17 473d4cbb67 Fixed SystemStackError when two events on connected maps have their backs to the other map 2022-07-10 19:05:42 +01:00
Maruno17 8ae07a6d15 Fixed some Vs animations not playing for double battles against 1 trainer, fixed typo in Grassy Glide's effect 2022-07-08 13:44:04 +01:00
Maruno17 3314477f08 Made the example wild encounter modifier that scales Pokémon levels to match the player's party depend on a map metadata flag instead of a map number 2022-07-07 20:49:49 +01:00
Maruno17 b50ce948f6 Fixed battle rule "forceCatchIntoParty" being circumventable, fixed wrong message when sending a party Pokémon to storage and replacing it with a caught Pokémon 2022-07-07 20:42:23 +01:00
Maruno17 e1dc7c91bc Fixed broken Bill's PC menu options 2022-07-06 20:03:46 +01:00
Maruno17 0b65865962 Fixed error message spam in the console when editing Game Swtches via the Debug mode feature 2022-07-06 20:03:10 +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
Maruno17 a85f672c73 Fixed crash when the Compiler rewrites a door event 2022-07-06 18:43:52 +01:00
Maruno17 2976ee93ce Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks 2022-07-03 17:39:44 +01:00
Maruno17 a2327c6280 Fixed playing the credits/changing $scene leaving a ghost image of the old map behind, fixed Pokémon icons sometimes disappearing in storage screen 2022-07-03 16:40:25 +01:00
Maruno17 6dd88e49e1 Fixed the "See ya!" option in the PC menu not working properly, fixed mispositioning of text in Debug features that edit Game
Switches/Variables
2022-07-03 15:58:37 +01:00
Maruno17 94c6b6db0c Fixed Heavy Ball's catch rate calculation being inaccurate, added Obstruct to some moves' blacklists 2022-07-03 15:22:34 +01:00
Maruno17 7e183a92aa Tidying up for v20.1 release 2022-06-20 19:17:38 +01:00
Maruno17 76639c4ba5 Fixed duplicate files listed in BGM/ME pickers in PBS file editors 2022-06-20 08:44:18 +01:00
Maruno17 03ffae6eed Fixed empty wild encounter type tables not being editable in "Edit Wild Encounters" debug function 2022-06-19 23:07:21 +01:00
Maruno17 2486fa9fe2 Fixed player being able to be stuck in running position when opening the pause/ready menu 2022-06-19 22:44:29 +01:00
Maruno17 040247536f Some improvements to map/event rendering when changing display tile width/height in map renderer 2022-06-19 22:34:22 +01:00
Maruno17 8b3d95943a Essentials no longer requires the "Plugins" folder to exist 2022-06-19 17:40:34 +01:00
Maruno17 9261851701 Fixed party order not being altered at the start of battle if there are unable Pokémon before the one(s) sent in initially 2022-06-19 17:36:35 +01:00
Maruno17 9a53ee8a0e Fixed text positioning in "Roaming Pokémon" Debug function 2022-06-19 17:35:08 +01:00
Maruno17 2e3ba2e09e Fixed Grudge and Lunar Dance not properly changing PP amounts 2022-06-19 17:04:58 +01:00
Maruno17 b367b2442b Fixed error when using Future Sight 2022-06-18 21:18:34 +01:00
Maruno17 9a03b25755 Fixed using Pursuit against a switcher preventing using the next move 2022-06-18 21:13:30 +01:00
Maruno17 79f5e5d4aa Fixed mistake in individual trainer editor 2022-06-18 20:48:27 +01:00
Maruno17 4b895e44ef Fixed the passability of the blank tile not being ignored if its priority is 0 2022-06-17 21:41:35 +01:00
Maruno17 d42e35f8c4 Fixed being unable to walk across a map connection into an event even while holding Ctrl in Debug mode 2022-06-17 21:41:22 +01:00
Maruno17 cd47b9899c Fixed some maps being loaded when they shouldn't 2022-06-16 19:50:36 +01:00
Maruno17 3d8e22690d Stopped various filenames being translatable when they don't need to be 2022-06-16 13:29:48 +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 b8e9251fb4 More splitting of AI_Move_EffectScores 2022-06-15 19:23:52 +01:00
Maruno17 62b964adfa Split script section AI_Move_EffectScores in two and rearranged it 2022-06-15 19:15:03 +01:00
Maruno17 c0c672806d Refactored code that draws the Pokémon info box in battle 2022-06-13 23:17:09 +01:00
Maruno17 cc540b0132 Refactored code that draws party screen panels 2022-06-13 22:54:44 +01:00
Maruno17 8d4015c903 Improvement to Scent items' in-battle effects 2022-06-13 21:23:51 +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 732c167ad5 Writing moves.txt now calls power "Power" instead of "BaseDamage", other minor tidying 2022-06-13 20:17:16 +01:00
Maruno17 aec0215442 Fixed PBS files not being recovered properly if playing in Debug mode without a PBS folder 2022-06-13 20:15:47 +01:00
Maruno17 cdc82b6e65 Fix to previous commit about trainer intro BGM persisting after skipped battles 2022-06-10 17:48:18 +01:00
Maruno17 248b0dd882 Added def GameData::Species.base_stat_total, other minor code tweaks 2022-06-09 21:06:35 +01:00
Maruno17 cb2f33d8f6 Fixed GameData::Species.icon_bitmap_from_pokemon causing a crash, fixed trainer intro music not stopping after skipping their battle 2022-06-09 21:05:22 +01:00
Maruno17 49c916e1bb Added support for the Bug Catching Contest taking place over multiple maps 2022-06-08 23:13:01 +01:00
Maruno17 101dca7a31 Fixed the Back input not being able to close a displayed message in the Poké Mart 2022-06-08 22:46:30 +01:00
Maruno17 038be447fb Fixed crash when using a Shadow Pokémon Scent or Time Flute item 2022-06-05 14:48:54 +01:00
Maruno17 d383d69cf4 Fix for tiles being invisible after a map transfer if they were on screen before it 2022-06-04 16:06:00 +01:00
Maruno17 2c65a9de7d Fix for tiles being invisible after battle until they leave the edge of the screen 2022-06-03 20:13:19 +01:00
Maruno17 ff1f9633f3 Fixed SystemStackError when loading a connected map with an event at its edge facing away from that edge 2022-06-03 14:42:04 +01:00
Maruno17 b441411b2e Fixed trainer intro BGM persisting after battles against multiple trainers 2022-06-02 18:47:24 +01:00
Maruno17 e3dbc5e690 Updated moves.txt to fix a few mistakes 2022-06-02 17:27:14 +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 0da046d2c3 Fixed memory leak caused by lots of map transfers 2022-06-02 16:43:58 +01:00
Maruno17 1532be2410 Fixed incorrect capitalisation in message when Aurora Veil wears off 2022-06-02 16:40:37 +01:00
Maruno17 a63d031da2 Fixed Gorilla Tactics also boosting Special Attack 2022-06-01 22:48:24 +01:00
Maruno17 3338875dd8 Fixed error when applying Sea of Fire's damage 2022-06-01 22:47:32 +01:00
Maruno17 9f09851db9 Renamed moves.txt property BaseDamage to Power 2022-05-29 19:01:49 +01:00
Maruno17 aa2269c858 Added Compiler code to make simple text replacements in PBS files before they are compiled 2022-05-29 19:00:59 +01:00
Maruno17 8310114252 Fixed some warning messages relating to compiling moves.txt 2022-05-29 18:53:24 +01:00
Maruno17 6a046ff755 Fixed Xerneas/Zacian/Zamazenta not being their alternate form throughout battle 2022-05-29 18:13:08 +01:00
Maruno17 9ecbee910d Fixed error when calculating type effectiveness against a Pokémon with no types 2022-05-28 23:07:55 +01:00
Maruno17 325a1b2998 Fixed Dauntless Shield raising the wrong stat 2022-05-26 18:57:21 +01:00
Maruno17 eebe93678a Fixed Pickup's out-of-battle effect causing an error 2022-05-26 18:50:48 +01:00
Maruno17 ff3c3acfa6 Merge branch 'dev' 2022-05-24 19:10:34 +01:00
Maruno17 0d567db2cd Updated README.md 2022-05-24 19:07:22 +01:00
Maruno17 ebf83649ec Fixed error when the Compiler tries to convert some pbTrainerBattle code to TrainerBattle.start 2022-05-24 18:56:33 +01:00
Maruno17 eab69f213a Fixed error when using Rotom Catalog 2022-05-24 13:44:12 +01:00
Maruno17 d94d1836c6 Fixed Howl always failing 2022-05-24 13:43:01 +01:00
Maruno17 41479fac04 Fixed the player animating super-fast for a while after surfing 2022-05-23 23:29:23 +01:00
Maruno17 a280fea093 Fixed console message colouring breaking when loading a plugin whose name contains an apostrophe 2022-05-21 19:20:35 +01:00
Maruno17 98aeff01c5 Pokédex entry won't appear for gifted Pokémon if you don't want to record its form in the Pokédex 2022-05-20 20:32:16 +01:00
Maruno17 38d551f72b Fixed not registering a gifted Pokémon as seen/owned before looking at its Pokédex entry 2022-05-20 20:22:47 +01:00
Maruno17 ce5d68a904 Fixed incorrect Pokémon icons shown in Ready Menu if there are eggs in the party 2022-05-20 19:11:12 +01:00
Maruno17 d5e26d13f7 Renamed VictoryME to VictoryBGM in trainer_types.txt 2022-05-20 17:45:03 +01:00
Maruno17 0ab1e6242d Added some more outdated script replacements to the Compiler 2022-05-20 17:44:35 +01:00
Maruno17 d28ccd13e1 Fixed incorrect status condition icon used for fainted Pokémon and Pokémon with Pokérus 2022-05-20 17:39:17 +01:00
Maruno17 b344cb7fcc Fixed event evolutions not working 2022-05-20 17:36:39 +01:00
Maruno17 cc7ecf0326 Fixed incorrect message when choosing a Pokémon to withdraw from Day Care 2022-05-20 17:35:02 +01:00
Maruno17 622aa708b0 Merge branch 'dev' 2022-05-19 23:23:50 +01:00
Maruno17 f5ee3b9c9f Fixed F9 skipping a turn in Safari battles, fixed Gym Leader attempts stat not working 2022-05-19 22:24:40 +01:00
Maruno17 47ad801645 Tidying up for v20 release 2022-05-19 19:42:16 +01:00