Преглед изворни кода

Revert "Update todo"

This reverts commit 6f54ca25f6af91ad05a0b06ba70eb1f6111b1435.
Kris Bahnsen пре 2 година
родитељ
комит
8428ab0e0c
2 измењених фајлова са 15 додато и 16 уклоњено
  1. 9 10
      README.md
  2. 6 6
      pokemon_data.h

+ 9 - 10
README.md

@@ -16,9 +16,9 @@
 
 ## Introduction
 
-This is a Pokemon exchange application from Flipper Zero to Game Boy [(Generaction I)](https://bulbapedia.bulbagarden.net/wiki/Generation_I). Flipper Zero emulates a "Slave" Game Boy connected to a Game Link Cable to be able to exchange any Pokemon from the First Generation (Red, Blue, Yellow) to a real Game Boy.
+This is a Pokemon exchange application from Flipper Zero to Game Boy [(Generacn I)](https://bulbapedia.bulbagarden.net/wiki/Generation_I). Flipper Zero emulates a "Slave" Game Boy connected to a Game Link Cable to be able to exchange any Pokemon from the First Generation (Red, Blue, Yellow) to a real Game Boy.
 
-It currently trades a Pokemon based on your choice of Pokemon, Level, Stats and 4 Moves.
+It currently trades a Pokemon based on your choice of Pokemon, Level, and 4 Moves. It assumes a perfect IV and sets the EV for each stat to 0 (captured Pokemon) and calculates the Pokemon's Stats.
 
 ## Installation Directions
 
@@ -260,17 +260,16 @@ For each image, the color `#aaa` was transformed to `#fff` so that Flipper Zero
 - Game Boy Advance (GBA)
 
 ## Implemented by
-<a href="https://github.com/EstebanFuentealba/Flipper-Zero-Game-Boy-Pokemon-Trading/">EstebanFuentealba</a><br />
+<a href="https://github.com/EstebanFuentealba/Flipper-Zero-Game-Boy-Pokemon-Trading/">EstebanFuentealba</a>
 <a href="https://github.com/R4g3D/Flipper-Zero-Game-Boy-Pokemon-Trading/">R4g3D</a>
 
 ## TODO
-- [ ] Change the default traded Pokemon's naming to be no nickname (current nickname is the Pokemon's name)
-- [x] Add view to allow the traded Pokemon's level to be chosen between 3 and 100
-- [x] Add view to allow the traded Pokemon's hidden stats to be chosen (IV and EV) from some options
-- [x] Add view to allow the traded Pokemon's moveset to be chosen (all 4 moves) allowing no move as an option
-- [ ] Add images for the level selection screen, stats selection screen, and move selection screens as per the original README
-- [ ] Optimise the level selection screen to be a number slider input instead of the current slideshow still selector
-- [ ] Add a view to allow for a custom Pokemon nickname
+- [ ] Refactor the code
+- [x] The OK button stops working when exiting the app, so it needs to be restarted 🤔
+- [x] Set each Pokemon's characteristics, attacks, and default levels
+- [ ] Improve animations
+- [ ] Add images for the level selction screen and the move selection screens as per the original README
+- [ ] Add an option to enable EV to be set to the maximum as per level ((65535 / 100) * level), or to the utmost maximum (65535)
 
 ## Links
 

+ 6 - 6
pokemon_data.h

@@ -292,12 +292,12 @@ struct trade_data_block DATA_BLOCK2 =
              {.str = {F_, l_, i_, p_, p_, e_, r_, TERM_, 0x00, 0x00}},
          },
      .nickname = {
-         {.str = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
-         {.str = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
-         {.str = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
-         {.str = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
-         {.str = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
-         {.str = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
+         {.str = {F_, l_, o_, p_, p_, e_, r_, TERM_, 0x00, 0x00}},
+         {.str = {F_, l_, o_, p_, p_, e_, r_, TERM_, 0x00, 0x00}},
+         {.str = {F_, l_, o_, p_, p_, e_, r_, TERM_, 0x00, 0x00}},
+         {.str = {F_, l_, o_, p_, p_, e_, r_, TERM_, 0x00, 0x00}},
+         {.str = {F_, l_, o_, p_, p_, e_, r_, TERM_, 0x00, 0x00}},
+         {.str = {F_, l_, o_, p_, p_, e_, r_, TERM_, 0x00, 0x00}},
      }};
 
 unsigned char INPUT_BLOCK[405];