Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
string
images
images list
[{"role": "system", "content": [{"type": "text", "text": "You are an expert Pokemon player controlling a GBA emulator. Your goal is to progress through Pokemon Emerald optimally.\n\n## How You Work\n1. You receive screenshots of the current AND recent game states\n2. You MUST analyze what you see and compare to previous screenshots\n3. You describe your reasoning in natural language\n4. You call tools using XML format to execute game actions\n5. After actions execute, you receive a new screenshot\n\n## Tool Calling Format\n\nTo execute actions in the game, you must use the XML tool calling format. Each tool call should be wrapped in `<tool_call>` tags containing a JSON object with the tool name and parameters.\n\n**Format:**\n```\n<tool_call>{\"name\": \"tool_name\", \"param1\": \"value1\", \"param2\": \"value2\"}</tool_call>\n```\n\nYou can include reasoning text before your tool calls. Multiple tool calls can be made in a single response.\n\n---\n\n## Available Tools\n\n### move\nMove the character in a direction. Use for navigation in the game world or menus.\n\n**Parameters:**\n- `direction` (string, required): Direction to move. Must be one of: \"up\", \"down\", \"left\", \"right\"\n- `count` (integer, required): Number of times to move in that direction. Range: 1-20\n\n**Example:**\n<tool_call>{\"name\": \"move\", \"direction\": \"left\", \"count\": 3}</tool_call>\n\n**Example with reasoning:**\nI need to walk left to reach the Pokemon Center entrance.\n<tool_call>{\"name\": \"move\", \"direction\": \"left\", \"count\": 5}</tool_call>\n\n---\n\n### press_button\nPress a GBA button. A=confirm/interact, B=cancel/back, START=menu, SELECT=registered item, L/R=shoulder buttons.\n\n**Parameters:**\n- `button` (string, required): Button to press. Must be one of: \"A\", \"B\", \"START\", \"SELECT\", \"L\", \"R\"\n\n**Example:**\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>\n\n**Example with reasoning:**\nThere's a dialogue box on screen. I need to press A to advance the text.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>\n\n---\n\n### update_database\nUpdate the game database with important information. Use for quests, locations, items, Pokemon status, or navigation tips.\n\n**Parameters:**\n- `instruction` (string, required): Plain English instruction describing what to add/update in the database\n\n**Example:**\n<tool_call>{\"name\": \"update_database\", \"instruction\": \"Add note: The gym leader in Rustboro City uses Rock-type Pokemon. Recommended to use Water or Grass types.\"}</tool_call>\n\n**Example with reasoning:**\nI just discovered that the key to the abandoned ship is in the captain's quarters. I should save this information.\n<tool_call>{\"name\": \"update_database\", \"instruction\": \"Update location info: Abandoned Ship - The Storage Key is located in the captain's quarters on the upper deck.\"}</tool_call>\n\n---\n\n### reset_conversation\nReset and summarize conversation history. Use when stuck in loops or context becomes confusing.\n\n**Parameters:** None required\n\n**Example:**\n<tool_call>{\"name\": \"reset_conversation\"}</tool_call>\n\n**Example with reasoning:**\nI've been going in circles and the conversation history is getting confusing. Let me reset to get a fresh start.\n<tool_call>{\"name\": \"reset_conversation\"}</tool_call>\n\n---\n\n## MANDATORY Analysis Process (You MUST follow this for EVERY response)\n\n### Step 1: DESCRIBE THE CURRENT SCREENSHOT\nStart your response by describing what you see in detail:\n- What type of screen is this? (overworld, battle, menu, dialogue, etc.)\n- Where is the player character located?\n- What objects, NPCs, or obstacles are visible?\n- Is there any text on screen? What does it say?\n\n### Step 2: COMPARE TO PREVIOUS SCREENSHOTS (Critical for loop detection!)\nIf you have previous screenshots available, you MUST compare:\n- Has the player's position changed since the last screenshot?\n- Has the screen content changed at all?\n- Did my previous action have any visible effect?\n\n**LOOP DETECTION**: If you notice:\n- The player is in the SAME position as before\n- The screen looks IDENTICAL to a previous screenshot\n- You've tried the same action 2+ times with no change\n\nThen you MUST explicitly state: \"I DETECT A LOOP - my previous action(s) failed to make progress. I need to try a DIFFERENT approach.\"\n\n### Step 3: ANALYZE WHY PREVIOUS ACTIONS MAY HAVE FAILED\nIf the screen hasn't changed or you're stuck:\n- Is there an obstacle blocking movement? (wall, NPC, object like a potted plant)\n- Am I trying to walk into something impassable?\n- Do I need to interact with something first (press A)?\n- Should I try a completely different direction?\n\n### Step 4: DECIDE ON A NEW ACTION\nBased on your analysis:\n- If making progress: continue with your plan\n- If stuck/looping: TRY SOMETHING DIFFERENT\n - If moving up didn't work, try left, right, or down\n - If walking into an obstacle, go AROUND it\n - If nothing works, try pressing A to interact or B to cancel\n - Consider using reset_conversation if truly stuck\n\n## Key Pokemon Emerald Tips\n- Text boxes: Press A to advance dialogue\n- Menus: Navigate with D-pad, A to select, B to cancel/back\n- Overworld: Move efficiently, avoid unnecessary encounters\n- Battles: Consider type matchups and Pokemon health\n- Save often before important events (gyms, legendaries)\n- Check Pokemon party status regularly via START menu\n- OBSTACLES: Potted plants, tables, NPCs, and walls BLOCK movement - go AROUND them!\n\n## Important Rules\n- ALWAYS describe what you see before acting\n- ALWAYS compare to previous screenshots to detect loops\n- If the same action failed twice, DO NOT try it a third time\n- If stuck, explicitly state you're stuck and try a different approach\n- Update database with important discoveries (quests, locations, obstacles)\n- If truly stuck after multiple different attempts, use reset_conversation\n- When you retrieve new info, or your database lacks info (like current pokemon party, bag items, etc;) find them IMMEDIATELY and update the database\n- Don't be hesitant to use update_database frequently to keep your knowledge current\n- Don't constantly update the database with the same information; keep it relevant and concise\n\n## Current Goal\nBeat the Elite 4 by defeating all gym leaders and progressing through the story.\n\n## Response Format\nYour response should follow this structure:\n\n**Current Screenshot Analysis:**\n[Describe what you see in detail, analyze text too]\n\n**Comparison to Previous State:**\n[Compare to previous screenshots - did my last action work?]\n\n**Loop Detection:**\n[Am I stuck? Have I tried this before? Is the screen unchanged?]\n\n**Decision:**\n[What action will I take and why? If stuck, what NEW approach will I try?]\n\n[Then include your tool call(s)]\n<tool_call>{\"name\": \"tool_name\", \"param\": \"value\"}</tool_call>\n"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 0}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle screen** with the main battle menu displayed\n- **Opponent:** Wurmple \u2642 Level 3 - HP bar is GREEN (full HP)\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 22/30 HP (slightly less than before, now showing 22)\n- **Menu options:** \n - FIGHT (currently selected, indicated by \u25b6)\n - BAG\n - POK\u00e9MON\n - RUN\n- The Wurmple sprite (red/cream caterpillar) is visible on the right\n- Mudkip (FRED) sprite visible on the left from behind\n\n**Comparison to Previous State:**\nLooking at the previous session summary, I was at the move selection screen with Tackle selected. Now I'm back at the main battle menu with FIGHT selected. This suggests either:\n1. The turn completed and we're back at the action selection\n2. Or I pressed B accidentally and went back to the main menu\n\nThe HP changed from 23/30 to 22/30, suggesting a turn may have occurred where Wurmple attacked me. But Wurmple still has full HP, which is strange if I used Tackle...\n\nActually, looking more carefully, it seems the attack may not have executed properly, or this is showing the state before my attack registered.\n\n**Loop Detection:**\nNo clear loop yet - the screen has changed from the move selection to the main battle menu. I need to select FIGHT again to attack.\n\n**Decision:**\nI need to select FIGHT (which is already highlighted) by pressing A, then select Tackle to attack this Wurmple. With my Level 9 Mudkip vs a Level 3 Wurmple, one Tackle should easily KO it.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 1}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle screen** with move selection menu displayed\n- **Opponent:** Wurmple \u2642 Level 3 - HP bar is GREEN (full HP)\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 22/30 HP\n- **Move menu showing:**\n - GROWL (currently selected, indicated by \u25b6) - PP 40/40, TYPE/NORMAL\n - MUD-SLAP\n - TACKLE\n - Fourth slot empty (-)\n\n**Comparison to Previous State:**\nProgress! I pressed A on FIGHT and now I'm at the move selection screen. The cursor is currently on GROWL (top-left), but I need to select TACKLE to deal damage.\n\n**Loop Detection:**\nNo loop - I've successfully navigated from the battle menu to the move selection menu. This is forward progress.\n\n**Decision:**\nI need to navigate to TACKLE. The menu layout appears to be:\n- GROWL (top-left, currently selected)\n- MUD-SLAP (top-right)\n- TACKLE (bottom-left)\n- Empty (bottom-right)\n\nI need to press DOWN once to move from GROWL to TACKLE, then press A to select it.\n<tool_call>{\"name\": \"move\", \"direction\": \"down\", \"count\": 1}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 2}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle screen** with move selection menu displayed\n- **Opponent:** Wurmple \u2642 Level 3 - HP bar is GREEN (full HP)\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 22/30 HP\n- **Move menu showing:**\n - GROWL (top-left)\n - MUD-SLAP (top-right)\n - TACKLE (bottom-left, currently selected - indicated by \u25b6)\n - Empty slot (bottom-right, shown as -)\n- **PP:** 29/35 for Tackle\n- **TYPE:** NORMAL\n- There's a visual effect (pink/purple line) across the screen, possibly a transition animation\n\n**Comparison to Previous State:**\nThe cursor has successfully moved from GROWL to TACKLE! The \u25b6 indicator is now next to TACKLE, and the PP shows 29/35 (matching Tackle's PP from earlier).\n\n**Loop Detection:**\nNo loop - I successfully navigated down from GROWL to TACKLE. This is forward progress.\n\n**Decision:**\nTACKLE is now selected. I'll press A to use Tackle against the Wurmple. With a Level 9 Mudkip using Tackle against a Level 3 Wurmple, this should be a one-hit KO.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 3}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle screen** with dialogue text box displayed\n- **Opponent:** Wurmple \u2642 Level 3 - HP bar is still GREEN (full HP, attack animation hasn't completed yet)\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 22/30 HP\n- **Text box:** \"FRED used TACKLE!\"\n- Both Pokemon sprites are visible - the attack is being executed\n\n**Comparison to Previous State:**\nExcellent progress! I selected Tackle and now the battle text is showing \"FRED used TACKLE!\" - the attack is being executed. The Wurmple's HP bar hasn't updated yet because the animation/damage calculation is still in progress.\n\n**Loop Detection:**\nNo loop - this is normal battle progression. The attack has been initiated and I need to advance the text to see the result.\n\n**Decision:**\nI need to press A to advance through the battle text and see the attack's effect. The Tackle should deal significant damage to (or KO) the Level 3 Wurmple.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 4}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle screen** with move selection menu displayed\n- **Opponent:** Wurmple \u2642 Level 3 - HP bar is now YELLOW (significantly damaged!)\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 23/30 HP (HP went up by 1? or display variance)\n- **Move menu showing:**\n - GROWL (top-left)\n - MUD-SLAP (top-right)\n - TACKLE (bottom-left, currently selected - indicated by \u25b6)\n - Empty slot (bottom-right)\n- **PP:** 28/35 for Tackle (decreased from 29, confirming the attack was used)\n- **TYPE:** NORMAL\n\n**Comparison to Previous State:**\nThe Tackle worked! Evidence:\n1. Wurmple's HP bar changed from GREEN (full) to YELLOW (low HP)\n2. Tackle PP decreased from 29/35 to 28/35\n3. We're back at the move selection screen for the next turn\n\nThe Wurmple survived but is heavily damaged. One more Tackle should finish it.\n\n**Loop Detection:**\nNo loop - this is normal battle progression. The turn completed and I'm selecting my next move.\n\n**Decision:**\nTACKLE is already selected (\u25b6 indicator visible). I'll press A to use Tackle again and knock out the Wurmple.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 5}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle screen** with dialogue text box displayed\n- **Opponent:** Wurmple \u2642 Level 3 - HP bar is YELLOW (low HP, same as before the attack animation)\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 22/30 HP\n- **Text box:** \"FRED used TACKLE!\"\n- Both Pokemon sprites visible - second Tackle attack is being executed\n\n**Comparison to Previous State:**\nThe attack has been selected and executed. The text shows \"FRED used TACKLE!\" which confirms my second Tackle is being performed. This should finish off the weakened Wurmple.\n\n**Loop Detection:**\nNo loop - this is normal battle animation/text progression. I need to advance through the text to see the result.\n\n**Decision:**\nPress A to advance through the battle text and see if the Wurmple faints from this second Tackle attack.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 6}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle victory screen** - Wurmple has been defeated!\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 22/30 HP\n- **Text box:** \"FRED gained 23 EXP. Points!\" with a \u25bc indicator showing there's more text\n- The Wurmple sprite is gone - it has fainted\n- Only Mudkip (FRED) remains on the battlefield\n\n**Comparison to Previous State:**\nExcellent! The battle is won! The Wurmple has been knocked out by the second Tackle, and FRED is receiving experience points. The \u25bc arrow indicates there's more text to come (possibly level up or returning to overworld).\n\n**Loop Detection:**\nNo loop - this is successful battle completion. I need to advance through the victory text.\n\n**Decision:**\nPress A to advance through the EXP gain text and complete the battle sequence. This will either show a level up screen or return us to the overworld.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 7}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Battle victory screen** - same as before\n- **My Pokemon:** FRED \u2642 (Mudkip) Level 9 with 23/30 HP\n- **Text box:** \"FRED gained 23 EXP. Points!\" with a \u25bc indicator\n- **EXP bar** is visible at the bottom of FRED's status box, showing progress\n- The screen appears slightly darker/different color tone but same content\n- I can see the emulator window frame at the top (Launcher, Bedrock Lair, etc.)\n\n**Comparison to Previous State:**\nThe screen is essentially the same - still showing the EXP gain message. The \u25bc indicator shows there's more to advance through. The EXP bar is visible and appears to be filling/has filled.\n\n**Loop Detection:**\nNot a gameplay loop - this is just the same text box waiting for input. I need to press A to continue advancing through the post-battle sequence.\n\n**Decision:**\nPress A to advance past the EXP gain message and continue. This should either show a level up notification or return us to the overworld.\n<tool_call>{\"name\": \"press_button\", \"button\": \"A\"}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 8}]}, {"role": "assistant", "content": [{"type": "text", "text": "**Current Screenshot Analysis:**\nI can see:\n- **Overworld screen** - Back in the game world after the battle\n- **Player character** (male trainer with white hat) standing in tall grass\n- **Location:** This appears to be Route 102 or a similar early route\n- **Environment:**\n - Large trees on the left side\n - Tall grass patches (darker green) where wild Pokemon can appear\n - Ledges/cliffs at the top (brown horizontal strips)\n - More trees on the right side\n - An NPC visible below the player (appears to be another trainer in the grass)\n - Another NPC visible in the bottom right corner (bald/older character)\n\n**Comparison to Previous State:**\nExcellent progress! The battle has ended and I'm back in the overworld. The wild Wurmple battle is complete and FRED gained 23 EXP.\n\n**Loop Detection:**\nNo loop - successfully transitioned from battle back to overworld exploration.\n\n**Decision:**\nI need to continue progressing through the route. Looking at the layout:\n- There's tall grass around me (risk of more wild encounters)\n- There's an NPC below me who might be a trainer\n- The path seems to continue to the right (toward Petalburg City likely)\n\nTo progress through the game and eventually reach gym leaders, I should continue moving through this route. I'll head right to avoid unnecessary grass encounters and progress toward the next town. Let me move right to continue.\n<tool_call>{\"name\": \"move\", \"direction\": \"right\", \"count\": 5}</tool_call>"}]}, {"role": "user", "content": [{"type": "text", "text": "Continue playing. Analyze the screenshot and decide on the next action."}, {"type": "image", "image": 9}]}]
README.md exists but content is empty.
Downloads last month
-