Commit Graph

63 Commits

Author SHA1 Message Date
jonisavo
39e38cc74f Added documentation to most of PokeBattle_Pokemon 2020-09-13 13:34:44 +03:00
jonisavo
305cbbb072 More work on documentation 2020-09-09 16:15:15 +03:00
jonisavo
0faff2b546 fix a typo I made in #givePokerus 2020-09-09 16:15:15 +03:00
jonisavo
234f435a75 Additional refactoring, made #mail=(value) into a method that checks whether the passed value is valid 2020-09-09 16:15:15 +03:00
jonisavo
1b3a1f3f3c Further refactoring in PokeBattle_Pokemon 2020-09-09 16:15:14 +03:00
Maruno17
3e1c482c21 Fixed Pokémon forms resetting to 0 upon evolving 2020-09-09 10:52:10 +01:00
Maruno17
d5926810d2 Merge pull request #14 from jvpr94/master
Fix nickname reset in Pokebattle_pokemon
2020-09-08 20:08:01 +01:00
João Vítor Reis
4d0e9cd331 Update 001_PokeBattle_Pokemon.rb
- Fixed name resetting on Pokémon with new species assigned that wasn't working as intended
- Improved naming on a variable
2020-09-08 15:01:08 -03:00
Maruno17
0236740ab6 Updated readme 2020-09-08 08:28:47 +01:00
Maruno17
9109578f63 Updated readme 2020-09-08 08:26:36 +01:00
Maruno17
9e37432b2d Added Game.exe to the repo 2020-09-08 08:15:18 +01:00
Maruno17
f82ed7f5dc Symbolised enums in module TrainersMetadata 2020-09-07 22:52:59 +01:00
Maruno17
e987c10472 Rearranged some code relating to data and its caching 2020-09-07 22:48:11 +01:00
Maruno17
7221e88be4 Removed double line breaks in combined scripts 2020-09-07 21:52:49 +01:00
Maruno17
2185cc7a5c Updates to script extracting/combining files 2020-09-07 21:42:44 +01:00
Maruno17
66671efcde Merge pull request #10 from jonisavo/additional-refactoring
Additional #isSpecies? and #hasItem? refactoring
2020-09-06 19:21:17 +01:00
Maruno17
f035200484 Fixing broken code 2020-09-06 19:10:25 +01:00
jonisavo
0b1bab3b5c Additional #isSpecies? and #hasItem? refactoring 2020-09-06 20:58:13 +03:00
Maruno17
6252407160 Merge pull request #9 from jonisavo/pokemon-use-hasItem
Refactor PokeBattle_Pokemon#hasItem? and use it instead of Object.isConst?
2020-09-06 17:39:02 +01:00
Maruno17
a91d13adcb Merge branch 'master' of https://github.com/Maruno17/pokemon-essentials 2020-09-06 17:32:33 +01:00
Maruno17
681a8331ab Resolved many Rubocop warnings 2020-09-06 17:31:12 +01:00
jonisavo
dcf3b18c48 Rename PokeBattle_Pokemon#hasItem?'s item variable to item_id for clarity 2020-09-06 15:57:54 +03:00
jonisavo
e73bef533d Use PokeBattle_Pokemon#hasItem? instead of isConst? 2020-09-06 15:41:46 +03:00
jonisavo
97b2548a7e Refactored PokeBattle_Pokemon#hasItem? 2020-09-06 15:13:54 +03:00
Maruno17
7731893a1c Merge pull request #8 from jonisavo/pokemon-use-isSpecies
Check for Pokémon species with #isSpecies? instead of Object.isConst?
2020-09-06 12:42:48 +01:00
Maruno17
2bd3a6dd99 Merge pull request #5 from jonisavo/handlerhash-block
Allow HandlerHash#add to take a block
2020-09-06 12:32:34 +01:00
jonisavo
1473d83a31 Use PokeBattle_Pokemon#isSpecies? instead of isConst? 2020-09-06 08:42:58 +03:00
jonisavo
afd7b090b9 Use PokeBattle_Battler#isSpecies? instead of isConst? 2020-09-06 08:41:27 +03:00
jonisavo
7fb1281eab Add PokeBattle_Battler#isSpecies? 2020-09-06 07:42:36 +03:00
jonisavo
cca8264bf5 Merge remote-tracking branch 'upstream/master' into handlerhash-block 2020-09-06 07:02:03 +03:00
jonisavo
4eb705b801 Modified HandlerHash#addIf to accept blocks 2020-09-06 07:01:27 +03:00
Maruno17
6c4670eaa3 Rubocop-inspired style tweaks 2020-09-06 01:10:02 +01:00
Maruno17
5073f86190 Rearranged some script files 2020-09-05 22:34:32 +01:00
Maruno17
5d3189174c Corrections to def pbGetCsvRecord 2020-09-05 21:57:42 +01:00
Maruno17
72638c7275 Merge pull request #7 from Marin-MK/master
Updated README vocabulary and fixed typo
2020-09-05 21:00:01 +01:00
m3rein
89f20d44b9 Merge branch 'master' of https://github.com/Maruno17/pokemon-essentials 2020-09-05 21:36:03 +02:00
m3rein
ac6a2f303a Updated vocabulary and fixed typo 2020-09-05 21:32:21 +02:00
Maruno17
09cf282e58 Merge pull request #6 from Marin-MK/master
Error message improvements
2020-09-05 20:26:23 +01:00
m3rein
240af4e5e7 Removed all excess whitespace and standardized line endings. 2020-09-05 21:23:16 +02:00
m3rein
caed5bd757 Changed Username alias from ... to USERNAME. 2020-09-05 21:22:23 +02:00
m3rein
178ff4991f Add script names in eval error message 2020-09-05 21:05:32 +02:00
m3rein
3955786370 Replace PC username with "..." in errors and replaced / with \. 2020-09-05 21:01:18 +02:00
jonisavo
069b209851 Better error message for the #add method, and renamed handler_block to handlerBlock 2020-09-05 21:25:29 +03:00
jonisavo
3654575efe Merge remote-tracking branch 'upstream/master' into handlerhash-block 2020-09-05 20:56:27 +03:00
jonisavo
42e4923c86 HandlerHash#add can now take a block 2020-09-05 20:53:48 +03:00
Maruno17
dffb5de19d Fixed typo in Simple Beam's code. 2020-09-05 17:19:07 +01:00
Maruno17
586c506ab6 Merge pull request #4 from Marin-MK/master
Add CC-BY-NC-SA License
2020-09-05 17:15:10 +01:00
Maruno17
17bbce7368 Updated readme 2020-09-05 17:12:20 +01:00
m3rein
b7c7fb04b8 Merge branch 'master' of https://github.com/Maruno17/pokemon-essentials 2020-09-05 17:28:46 +02:00
m3rein
6a89919634 Add CC-BY-NC-SA license 2020-09-05 17:26:52 +02:00