GriffinR
033c6cea3b
Use YES/NO constants for MSGBOX_YESNO
2019-11-02 16:36:43 -05:00
GriffinR
a90b828bb8
Use YES/NO constants
2019-11-02 16:32:58 -05:00
GriffinR
e4fe21786e
Document misc special houses
2019-11-02 16:32:58 -05:00
GriffinR
5f1fcdd023
Document aqua/magma area scripts
2019-11-01 17:22:45 -05:00
GriffinR
dd01942c4f
Document aqua/magma hideout scripts
2019-11-01 17:22:45 -05:00
huderlem
6eaac9ea9d
Merge pull request #863 from GriffinRichards/doc-partymenu
...
Document party menu
2019-10-31 21:36:56 -05:00
GriffinR
8055548fa4
Document legendary scripts
2019-10-31 18:28:34 -05:00
GriffinR
b1ea2592c3
Merge branch 'master' into doc-partymenu
2019-10-31 14:22:51 -04:00
GriffinR
67ce8c9cc2
Clean up players_house doc
2019-10-30 17:51:35 -05:00
GriffinR
93e2851fc1
Document players_house.inc and Littleroot house scripts
2019-10-30 17:51:35 -05:00
Marcus Huderle
aad430c049
Document route 110 scripts
2019-10-26 12:55:53 -05:00
Marcus Huderle
8b75d977e3
Document seashore house scripts
2019-10-26 12:55:53 -05:00
Marcus Huderle
13f9760187
Document route 109 scripts
2019-10-26 12:55:53 -05:00
GriffinR
f35a3f73b2
Document gabby_and_ty.inc
2019-10-26 09:32:04 -05:00
GriffinR
6db014cc32
Document party_menu first pass
2019-10-25 15:41:06 -04:00
Marcus Huderle
83d0a87d0c
Document several route scripts
2019-10-24 20:14:11 -05:00
GriffinR
ca2c6fa9b1
Document pc_transfer.inc
2019-10-22 17:57:28 -05:00
Marcus Huderle
4fd848e689
Document early route scripts
2019-10-22 16:47:19 -05:00
GriffinR
6923f0e369
Document lilycove_lady.inc
2019-10-21 20:19:37 -05:00
GriffinR
973e6f9667
Document mauville_man.inc
2019-10-21 17:21:53 -05:00
Marcus Huderle
2f36bd62d7
Document Oldale scripts
2019-10-21 16:44:20 -05:00
Marcus Huderle
04ea8eea5a
Document rest of Petalburg scripts
2019-10-20 12:36:35 -05:00
GriffinR
ac399ade4a
Document safari zone scripts
2019-10-20 09:53:21 -05:00
GriffinR
0db188b487
Clean up berry_tree.inc and misc adjacent documentation
2019-10-20 09:46:46 -05:00
Marcus Huderle
cefc31dd1e
Document Petalburg City scripts
2019-10-19 15:05:15 -05:00
GriffinR
b4a9298205
Merge branch 'master' into document-gyms2
2019-10-16 04:22:34 -04:00
GriffinR
20fa13616f
Condense fallthrough script
2019-10-16 04:14:51 -04:00
GriffinR
0f15264595
Document rotating_tile_puzzle
2019-10-16 04:09:30 -04:00
GriffinR
60a592a2c3
Condense fallthrough scripts
2019-10-15 17:09:47 -05:00
GriffinR
348bb002a8
Document Gym scripts first half
2019-10-15 17:09:47 -05:00
GriffinR
90a05cf824
Finish Mossdeep Gym doc, beging documenting rotating tile puzzle
2019-10-15 05:06:13 -04:00
GriffinR
1b41b8b7ca
Document Petalburg, Fortree, Sootopolis, and some of Mossdeep Gyms
2019-10-15 05:05:57 -04:00
GriffinR
928cdf2531
Merge branch 'master' into doc-inc2
2019-10-14 19:25:10 -04:00
GriffinR
30ef494163
Merge branch 'master' into doc-inc2
2019-10-13 15:44:07 -04:00
GriffinR
60a9dc6a0e
Fix map script names
2019-10-13 15:40:15 -04:00
GriffinR
bb23128b77
Merge conflict resolves into review changes
2019-10-13 15:33:19 -04:00
GriffinR
144c5888a1
Fix map script names
2019-10-13 15:29:53 -04:00
GriffinR
a081124a20
Merge branch 'master' into doc-inc
2019-10-13 15:26:44 -04:00
Marcus Huderle
e47b3efdfe
Unify showmonpic and hidemonpic script command names with their function names
2019-10-12 18:58:54 -05:00
Marcus Huderle
8df4982b3f
Merge remote-tracking branch 'upstream/master' into document-trade
2019-10-12 15:39:17 -05:00
GriffinR
4e2be7ff5e
Review changes for #835
2019-10-12 15:14:57 -05:00
GriffinR
1b7607bd91
Document cable_club.inc
2019-10-12 15:14:57 -05:00
GriffinR
70d1d8956e
Document elite_four.inc and the E4 map scripts
2019-10-08 02:25:31 -04:00
GriffinR
2368f57669
Merge branch 'master' into doc-inc
2019-10-07 17:37:35 -04:00
GriffinR
d8f5e73bb7
Merge branch 'master' into doc-inc
2019-10-07 17:37:04 -04:00
GriffinR
bcf74df27f
Use B_OUTCOME constants for GetBattleOutcome
2019-10-07 16:36:47 -05:00
GriffinR
7ba11b7a1b
Use VAR_FACING constants
2019-10-07 16:36:02 -05:00
GriffinR
628301d6d5
Document unusual_weather.inc
2019-10-07 11:29:14 -04:00
GriffinR
0df304d629
Document roulette.inc
2019-10-07 02:00:16 -04:00
GriffinR
81ee8f07ef
Document pc.inc and prof_birch.inc
2019-10-07 01:13:34 -04:00
GriffinR
c4deb4db96
Document field_poison
2019-10-06 20:04:30 -04:00
GriffinR
f179ab95c0
Document move tutors
2019-10-06 17:30:17 -04:00
GriffinR
02070eaf73
Document kecleon
2019-10-06 16:06:34 -04:00
GriffinR
748a1dbdd4
Document cave hole
2019-10-06 14:16:37 -04:00
GriffinR
d914c1d659
Document common movements
2019-10-06 13:55:30 -04:00
GriffinR
c3c8fb40cf
Move trade data, some trade.c clean up documentation
2019-10-03 01:16:22 -04:00
GriffinR
9aed405851
Document a few field specials
2019-09-30 01:42:52 -04:00
GriffinR
1491b1855b
Merge branch 'master' into document-eventscripts
2019-09-26 15:03:22 -04:00
GriffinR
801ca37f04
Document day_care.inc and related
2019-09-25 18:46:25 -05:00
GriffinR
a180d2af49
Merge branch 'master' into document-eventscripts
2019-09-22 12:18:48 -04:00
GriffinR
9fb24bbbce
Remainder of script_menu documentation
2019-09-19 18:31:09 -04:00
GriffinR
275695c189
Document more script_menu, lilycove harbor
2019-09-19 17:27:34 -04:00
GriffinR
de0084ef7a
Document multichoice ids
2019-09-19 00:56:51 -04:00
GriffinR
b596322ca2
Initial script_menu documentation
2019-09-18 18:57:25 -04:00
GriffinR
58b8d7c297
Merge branch 'master' into document-eventscripts
2019-09-17 18:01:20 -04:00
GriffinR
6ab192e739
Review changes for #807
2019-09-17 16:50:17 -05:00
GriffinR
6ab49da811
Clean up field_specials documentation
2019-09-17 16:50:17 -05:00
GriffinR
3dbd375779
Some frontier field_specials documentation
2019-09-17 16:50:17 -05:00
GriffinR
aac9658a8e
Document some field_specials data
2019-09-17 16:50:17 -05:00
GriffinR
945d3d3a27
Merge branch 'master' into document-eventscripts
2019-09-17 00:10:23 -04:00
GriffinR
06af24bce5
Use misc ScrCmd constants
2019-09-16 19:44:47 -05:00
GriffinR
826fc3154e
condense secret base mapscript labels
2019-09-06 13:01:45 -04:00
GriffinR
cb82d868af
fix secret base jsons
2019-09-06 02:49:26 -04:00
GriffinR
9fbcd552de
document remainder of secret_base scripts, delete unneeded scripts.incs
2019-09-06 02:12:00 -04:00
GriffinR
1d703e786b
move some data out of event_scripts, use game stat constants
2019-09-05 14:56:34 -04:00
GriffinR
6b04ea0727
Merge branch 'master' into document-eventscripts
2019-09-03 22:22:14 -04:00
DizzyEggg
6a3b74c59c
Use item constant in pretty petal flower shop
2019-08-30 09:48:59 +02:00
GriffinR
a46f7952f9
Use DIR constants for createvobject
...
Also uses event object ids in LinkContestRoom1
2019-08-21 17:11:06 -05:00
GriffinR
23979c4d7d
initial documentation commit
2019-08-21 17:06:55 -05:00
Tustin2121
18dee14170
Review fixes
2019-08-17 23:26:46 -04:00
Tustin2121
d63a8ba817
Replaced createvobject numbers with EVENT_OBJ_GTX defines
...
Doing this allows someone to renumber the event object graphics and still have working contests.
2019-08-17 13:38:13 -04:00
Tustin2121
1069adae46
Renaming unknown link room ids to be the same as name
...
This descrepency was causing a lot of annoyance when using porymap, because porymap generated the ids in map_groups.h from the name, and mapjson was generating map_groups.h from the id in the json files. So just name them the same already like every other map in the repo.
2019-08-17 13:26:57 -04:00
Tustin2121
f4d4424618
Folded nops into hidemoneybox and updatemoneybox
...
The nops are essential to the hidemoneybox and updatemoneybox commands when using vanilla versions of those commands. Even though they're not actually used parameters in the command implementation, they are still consumed, which means if someone were to get rid of the nops (as I did in TriHard) it causes the commands to consume bytecode that are not theirs, resulting in undefined behavior usually leading to softlocks. Folding the extra bytes into the macros means there's no chance of the extra bytes getting losts in scripts.
2019-08-17 13:25:36 -04:00
Tustin2121
6508469259
Rename movobjectoffscreen to copyobjectxytoperm
...
Renaming the command to something that makes more sense as to what the command actually does. The command copies the current xy of the instantiated object back to its template, so that the object remains in the same place if the player walks away and despawns the object, and then comes back. "moveobjectoffscreen" implies that it might be taking the object and moving it physically to an off-screen location somehow.
2019-08-17 13:18:56 -04:00
Tustin2121
ea724278b7
Juan text buffer overflow note
2019-08-17 13:05:55 -04:00
GriffinR
ecf2097abb
initial event_scripts documentation
2019-08-14 23:38:42 -04:00
GriffinR
191f74525d
name unused route state vars
2019-08-05 11:50:29 -04:00
GriffinR
c2bf668fdd
rename town/city vars
2019-08-05 11:23:45 -04:00
GriffinR
0f5d96e5f5
name used and unnamed vars
2019-08-03 14:12:48 -04:00
garak
a43dcd26bd
finish labeling metatiles
2019-06-16 10:08:07 -05:00
garak
713f61de7c
continue labeling metatiles for scripts
2019-06-16 10:08:07 -05:00
Slawter666
5f292d621a
Use event object constants
2019-05-25 14:41:48 -05:00
Flametix
dbdb827e54
Fix typos ( #713 )
...
* fix typos
2019-05-18 21:56:19 -05:00
garak
daecd5ec40
name some trainer card related functions
2019-05-16 17:10:13 -05:00
Fontbane
d9115ada86
Use species constants for VAR_TEMP_1 before givemon
2019-05-13 10:16:28 -05:00
Fontbane
901a83d249
Fix some labels and include decorations.h
...
Include decorations.h in shop.c
Include decorations.h in event_scripts.s
2019-04-22 17:23:59 -05:00
Fontbane
6cf06d5f95
Doc some event scripts
...
Doc decoration shops
Revert "Doc decoration shops"
This reverts commit 64d935ea0dc942c32b89487137e5703fce34b435.
Document through comments
Un-revert decor documentation
2019-04-22 17:23:59 -05:00
Fontbane
2c076f1f3e
Doc most OnTransitions
2019-04-22 17:23:59 -05:00
AJ Fontaine
dbdb51e1a5
Start documenting event scripts
2019-04-22 17:23:59 -05:00
Fontbane
4a09a5da33
Doc field move scripts completely, use fldeff constants for dofieldeffect
...
Fix labels
Fix labels again
Delete extra boulder scripts
Now it should build fine
2019-04-06 12:48:50 -05:00
Marcus Huderle
033580da96
Document secret base
2019-04-05 16:24:57 -05:00
Fontbane
9e74409bb2
Fix labels, label more scripts
2019-04-04 19:34:35 -05:00
Fontbane
90e32f4ec5
Document landmark setting and item balls
2019-04-04 19:34:35 -05:00
Phlosioneer
37c7441a15
Merge branch 'master' into contest-data
2019-03-31 20:22:47 -04:00
Phlosioneer
207a54393c
Fix mistakes and use EVENT_OBJ_GFX_* macros
2019-03-31 20:07:24 -04:00
Marcus Huderle
cf917a8733
Decompile berry_powder.c
2019-03-24 14:50:16 -05:00
Fontbane
e8add87bf3
Document Field Effects and some related text
...
Also VAR_TRICK_HOUSE_LEVEL
2019-03-23 09:57:37 -05:00
Fontbane
7d54c2b960
EventScript and Text Documentation
...
In event_script.s. Also renamed a couple events for consistency/detail.
2019-03-23 09:57:37 -05:00
Marcus Huderle
f4f666f5af
Finish decompiling ereader.c
2019-03-22 13:36:06 -05:00
Marcus Huderle
e9a3cc6d51
Merge remote-tracking branch 'upstream/master' into move-tutor
...
# Conflicts:
# include/pokenav.h
# src/battle_script_commands.c
2019-03-17 17:20:40 -05:00
Phlosioneer
092608aef6
Add a constant for "no music" on maps.
2019-03-16 12:31:29 -05:00
Phlosioneer
8e1537fb57
Document map name popup flag
2019-03-10 09:23:58 -05:00
Phlosioneer
a32e8e7405
Move gContestOpponents into C
...
2,400 LOC by hand.
2019-03-09 20:56:36 -05:00
Phlosioneer
cae63cf1c7
Rename move tutor to move relearner
2019-03-04 20:56:39 -05:00
huderlem
ee9694d9ba
Merge pull request #587 from Phlosioneer/document-all-event-vars
...
Document all event vars
2019-03-02 08:24:46 -06:00
huderlem
3b04cfa437
Merge pull request #551 from Phlosioneer/multiplayer-stuff
...
Document overworld.c and link stuff in general
2019-03-01 08:43:55 -06:00
Phlosioneer
a7e5852f1d
More minor fixes
2019-03-01 01:49:11 -05:00
Phlosioneer
459fd93b59
Fix minor errors
2019-03-01 01:18:58 -05:00
Phlosioneer
373d73eb3b
Fix last special var
2019-02-28 00:06:27 -05:00
Phlosioneer
bf45b83c65
Finish documenting event vars
2019-02-27 23:54:51 -05:00
Phlosioneer
782979f1fc
Finish documenting trainer hill
...
Trainer hill isn't anywhere close to done, but I figured out enough
to name the VAR. That's all this PR should do.
2019-02-27 22:16:01 -05:00
Phlosioneer
66f0616a2d
I guess I'm documenting Trainer Hill now
2019-02-27 21:31:05 -05:00
Phlosioneer
e77e7844ea
Name several vars, document some related events
2019-02-27 20:25:09 -05:00
Phlosioneer
648fc3d4f3
Name more unknown vars
2019-02-27 15:18:56 -05:00
Phlosioneer
4137dd7b0b
Identify unused, never read, and never written vars
2019-02-27 14:42:32 -05:00
Marcus Huderle
4b9e93850c
Document easy chat screen types
2019-02-27 12:55:29 -06:00
Phlosioneer
c1348d22f3
Name most event scripts related to unusual weather
2019-02-27 04:27:54 -05:00
Phlosioneer
fe55580fe1
Reverse engineer unusual weather events
2019-02-27 03:42:04 -05:00
Phlosioneer
3a44b090d1
Merge branch 'master' into multiplayer-stuff
2019-02-26 22:07:29 -05:00
Phlosioneer
accea672f1
Incorporate feedback
2019-02-26 22:04:44 -05:00
huderlem
b3a7a1278a
Merge pull request #577 from Phlosioneer/weather-15
...
Document the weather state functions
2019-02-25 08:03:22 -06:00
huderlem
84573f1774
Merge pull request #574 from Phlosioneer/event-vars
...
Event vars
2019-02-25 08:02:28 -06:00
Phlosioneer
8816aa527d
Update map script files
2019-02-25 08:01:22 -06:00
Phlosioneer
1cd5cb09cf
Merge branch 'master' into weather-15
2019-02-25 02:30:35 -05:00
Phlosioneer
4e5fae0086
Merge branch 'master' into event-vars
2019-02-25 02:24:20 -05:00
Phlosioneer
04db99bb0a
More misc event names
2019-02-24 10:10:18 -06:00
Phlosioneer
0de831fd29
Name some common single-entry movements
2019-02-24 10:10:18 -06:00
Phlosioneer
4582fd1545
Name a ton of commonly used event scripts
2019-02-24 10:10:18 -06:00
Phlosioneer
b2866fae21
Document the weather state functions
...
All weather types are now documented (including WEATHER_15)
2019-02-22 22:20:42 -05:00
Phlosioneer
cea5696f23
Finish moving pokeruby vars
2019-02-22 04:18:43 -05:00
Phlosioneer
e12a7790cf
Start porting pokeruby vars to pokeemerald
2019-02-22 04:01:38 -05:00
Phlosioneer
eca329f9c5
Merge branch 'master' into multiplayer-stuff
2019-02-21 21:22:10 -05:00
Diegoisawesome
924cbe9ee4
Merge pull request #560 from Phlosioneer/regi-documentation
...
Document the regi* code more
2019-02-18 13:23:19 -06:00
Phlosioneer
486cf449b8
Make flag names more consistent
2019-02-18 14:17:02 -05:00
Phlosioneer
fcb541189d
Rename some flags, and use map ID macros
2019-02-18 02:02:20 -05:00
Phlosioneer
0a7b97ee06
Merge branch 'master' into multiplayer-stuff
2019-02-18 01:19:16 -05:00
Phlosioneer
5695617d64
Merge branch 'master' into multiplayer-stuff
2019-02-18 01:12:47 -05:00
Phlosioneer
08579edbcd
Clean up mistakes and bad formatting
2019-02-18 01:03:44 -05:00
Marcus Huderle
19b76bffda
Use strings for map json trainer_type and trainer_sight_or_berry_tree_id fields
2019-02-16 16:56:41 -06:00
garak
0b1bb9e4e9
use strings for map json coord_event var_value
2019-02-16 16:14:43 -06:00