Added Feebass event
This commit is contained in:
1 parent
e527efc56c
commit
ac596bf32e
10 files changed
+99
-21
No files matched your search
@@ -20,7 +20,19 @@
|
||||
}
|
||||
],
|
||||
"object_events": [
|
||||
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_FISHERMAN",
|
||||
"x": 20,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Petalburgext_EventScript_Fisherman",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
|
||||
|
||||
@@ -1,2 +1,62 @@
|
||||
Petalburgext_MapScripts::
|
||||
.byte 0
|
||||
|
||||
Petalburgext_EventScript_Fisherman::
|
||||
goto_if_set FLAG_RECEIVED_FEEBASS, Petalburgext_EventScript_Fisherman_thankyou
|
||||
msgbox Petalburgext_Text_Fisherman, MSGBOX_DEFAULT
|
||||
msgbox Petalburgext_Text_Fisherman_request, MSGBOX_YESNO
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Petalburgext_EventScript_Fisherman_no
|
||||
msgbox Petalburgext_Text_Fisherman_yes, MSGBOX_DEFAULT
|
||||
getpartysize
|
||||
compare VAR_RESULT, 6
|
||||
goto_if_eq Petalburgext_EventScript_Fisherman_partyfull
|
||||
givemon SPECIES_FEEBAS, 5, ITEM_NONE
|
||||
showmonpic SPECIES_FEEBAS, 10, 3
|
||||
playfanfare MUS_OBTAIN_ITEM
|
||||
waitfanfare
|
||||
hidemonpic
|
||||
setflag FLAG_RECEIVED_FEEBASS
|
||||
release
|
||||
end
|
||||
|
||||
Petalburgext_EventScript_Fisherman_thankyou::
|
||||
msgbox Petalburgext_Text_Fisherman_thankyou, MSGBOX_DEFAULT
|
||||
end
|
||||
|
||||
Petalburgext_EventScript_Fisherman_no::
|
||||
msgbox Petalburgext_Text_Fisherman_no, MSGBOX_DEFAULT
|
||||
end
|
||||
|
||||
Petalburgext_EventScript_Fisherman_partyfull::
|
||||
msgbox Petalburgext_Text_Fisherman_partyfull MSGBOX_DEFAULT
|
||||
end
|
||||
|
||||
Petalburgext_Text_Fisherman_thankyou:
|
||||
.string "Please keep that thing away from me.$"
|
||||
|
||||
Petalburgext_Text_Fisherman:
|
||||
.string "Eww, this thing is ugly..\p"
|
||||
.string "but everytime I toss it back it\n"
|
||||
.string "jumps back onto my fishing pole.\p"
|
||||
.string ".....%"
|
||||
|
||||
|
||||
Petalburgext_Text_Fisherman_request:
|
||||
.string "Maybe you could take it?$"
|
||||
|
||||
Petalburgext_Text_Fisherman_no:
|
||||
.string "Ah, of course you won't.\n"
|
||||
.string "I wouldn't want it either!$"
|
||||
|
||||
Petalburgext_Text_Fisherman_yes:
|
||||
.string "Thank you!\p"
|
||||
.string "Maybe I can catch some real\n"
|
||||
.string "fish now.$"
|
||||
|
||||
Petalburgext_Text_Fisherman_partyfull:
|
||||
.string "Looks like you can't hold anymore\n"
|
||||
.string "POKéMON right now.\p"
|
||||
.string "Guess I'll toss it back again.$"
|
||||
|
||||
|
||||
@@ -116,6 +116,13 @@
|
||||
|
||||
],
|
||||
"bg_events": [
|
||||
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route101ext_EventScript_Sign"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -19,22 +19,22 @@ Route101ext_EventScript_Sign::
|
||||
|
||||
Route101ext_Text_Sign:
|
||||
.string "{LEFT_ARROW} OLDALE TOWN\n"
|
||||
.string "{DOWN_ARROW} LITTLEROOT.$"
|
||||
.string "{DOWN_ARROW} LITTLEROOT$"
|
||||
|
||||
Route101ext_Text_DailyWalk:
|
||||
.string "Usually there are many paths\n"
|
||||
.string "between towns.\p"
|
||||
.string "I like taking the long way\n"
|
||||
.string "between OLDALE and LITTLEROOT.$"
|
||||
.string "Usually there are many paths between\n"
|
||||
.string "towns.\p"
|
||||
.string "I like taking the long way between\n"
|
||||
.string "OLDALE and LITTLEROOT.$"
|
||||
|
||||
Route101ext_Text_StrangeHouse:
|
||||
.string "See that house over there?\n"
|
||||
.string "It has been empty for years.\p"
|
||||
.string "I wonder if there are any\n"
|
||||
.string "spooky Bug POKéMON in there.$"
|
||||
.string "I wonder if there are any spooky Bug\n"
|
||||
.string "POKéMON in there.$"
|
||||
|
||||
Route101ext_Text_MassiveWorld:
|
||||
.string "The world just seems to get\n"
|
||||
.string "larger and larger.\p"
|
||||
.string "There must be a lot we have\n"
|
||||
.string "The world just seems to get larger\n"
|
||||
.string "and larger.\p"
|
||||
.string "There must be so much that we have\n"
|
||||
.string "yet to discover.$"
|
||||
@@ -50,12 +50,12 @@
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_3",
|
||||
"x": 1,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "5",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route102ext_EventScript_Bart",
|
||||
"flag": "0"
|
||||
}
|
||||
|
||||
@@ -2,14 +2,13 @@ Route102ext_MapScripts::
|
||||
.byte 0
|
||||
|
||||
Route102ext_EventScript_Bart::
|
||||
bufferleadmonspeciesname 0
|
||||
trainerbattle_single TRAINER_BART, Route102_Text_BartIntro, Route102_Text_BartDefeated
|
||||
msgbox Route102ext_Text_BartPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route102_Text_BartIntro:
|
||||
.string "Woah! Where did you catch\n"
|
||||
.string "that {STR_VAR_1}?!$"
|
||||
.string "that?!$"
|
||||
|
||||
Route102_Text_BartDefeated:
|
||||
.string "It's too strong for me...$"
|
||||
|
||||
@@ -1221,7 +1221,7 @@
|
||||
#define FLAG_ITEM_ROUTE_101ext_POTION 0x493
|
||||
#define FLAG_ITEM_ROUTE_102ext_RARECANDY 0x494 // Unused Flag
|
||||
#define FLAG_ITEM_TOWN_LITTLEROOT_POTION 0x495 // Unused Flag
|
||||
#define FLAG_UNUSED_0x496 0x496 // Unused Flag
|
||||
#define FLAG_RECEIVED_FEEBASS 0x496 // Unused Flag
|
||||
#define FLAG_UNUSED_0x497 0x497 // Unused Flag
|
||||
#define FLAG_UNUSED_0x498 0x498 // Unused Flag
|
||||
#define FLAG_UNUSED_0x499 0x499 // Unused Flag
|
||||
|
||||
@@ -863,6 +863,6 @@
|
||||
// MAX_TRAINERS_COUNT can be increased but will take up additional saveblock space
|
||||
|
||||
#define TRAINERS_COUNT 856
|
||||
#define MAX_TRAINERS_COUNT 1000//864
|
||||
#define MAX_TRAINERS_COUNT 864
|
||||
|
||||
#endif // GUARD_CONSTANTS_OPPONENTS_H
|
||||
@@ -8,7 +8,7 @@ static const struct TrainerMonNoItemDefaultMoves sParty_bart[] = {
|
||||
.iv = 0,
|
||||
.lvl = 3,
|
||||
.species = SPECIES_RALTS,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
static const struct TrainerMonNoItemDefaultMoves sParty_Sawyer1[] = {
|
||||
|
||||
+2
-2
@@ -10268,9 +10268,9 @@ const struct Trainer gTrainers[] = {
|
||||
.encounterMusic_gender = TRAINER_ENCOUNTER_MUSIC_COOL,
|
||||
.trainerPic = TRAINER_PIC_COOLTRAINER_M,
|
||||
.trainerName = _("BART"),
|
||||
.items = {ITEM_NONE, ITEM_NONE, ITEM_NONE, ITEM_NONE},
|
||||
.items = {},
|
||||
.doubleBattle = FALSE,
|
||||
.aiFlags = AI_SCRIPT_CHECK_BAD_MOVE | AI_SCRIPT_TRY_TO_FAINT | AI_SCRIPT_CHECK_VIABILITY,
|
||||
.aiFlags = 0,
|
||||
.party = NO_ITEM_DEFAULT_MOVES(sParty_bart),
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user