Some Mobile code labeling and removed magic numbers (#993)
* Macro loop for EmptyAllSRAMBanks * Many things labeled and magic numbers removed * Conform to the style guide * Rename URLs in mobile_46 * MOBILEAPI_19 -> MOBILEAPI_TELEPHONESTATUS * Update engine/menus/empty_sram.asm Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com> * Update ram/wram.asm Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com> * Update mobile/mobile_46.asm Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com> * Update mobile/mobile_46.asm Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com> * Remove underscore from Set*DownloadURL symbols * Begin Labeling TradeCornerHoldMon routines * Add wMobileMon party_struct * Add TRADE_CORNER_REQUEST_LENGTH constant * Name battle tower action functions * Label trade corner send/receive buffer * Label the saved copy of the trade corner pokemon also fix mailmsg_jp * So many copies of decodeBase64Character * Label another buffer * Fix Alignment and use MOBILE_EMAIL_LENGTH * `Function11ad8a` -> `MobileIncJumptableIndex` * Apply Rangi Suggestions pass 1 Co-Authored-By: Rangi <35663410+Rangi42@users.noreply.github.com> * Apply Suggestions 2 Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com> Co-authored-by: vulcandth <vulcandth@gmail.com>
This commit is contained in:
36
ram/sram.asm
36
ram/sram.asm
@@ -286,13 +286,23 @@ sTrainerRankingsBackup:: ds sTrainerRankingsEnd - sTrainerRankings
|
||||
|
||||
s5_a800:: db
|
||||
|
||||
ds $24
|
||||
|
||||
s5_a825:: db
|
||||
s5_a826:: db
|
||||
|
||||
ds $6d
|
||||
sOfferEmail:: ds MOBILE_EMAIL_LENGTH
|
||||
sOfferTrainerID:: dw
|
||||
sOfferSecretID:: dw
|
||||
sOfferGender:: db
|
||||
sOfferSpecies:: db
|
||||
sOfferReqGender:: db
|
||||
sOfferReqSpecies:: db
|
||||
sOfferMonSender:: ds NAME_LENGTH_JAPANESE - 1
|
||||
sOfferMon:: party_struct sOfferMon
|
||||
sOfferMonOT:: ds NAME_LENGTH_JAPANESE - 1
|
||||
sOfferMonNick:: ds NAME_LENGTH_JAPANESE - 1
|
||||
sOfferMonMail:: mailmsg_jp sOfferMonMail
|
||||
|
||||
s5_a890:: db
|
||||
s5_a891:: db
|
||||
s5_a892:: db
|
||||
s5_a893:: db
|
||||
s5_a894:: ds 6
|
||||
s5_a89a:: dw
|
||||
s5_a89c:: ds 22
|
||||
@@ -372,13 +382,19 @@ s5_bfff:: db
|
||||
|
||||
SECTION "SRAM Mobile 3", SRAM
|
||||
|
||||
s6_a000::
|
||||
|
||||
s6_a000:: db
|
||||
db
|
||||
s6_a002:: db
|
||||
s6_a003:: db
|
||||
s6_a004:: db
|
||||
s6_a005:: db
|
||||
s6_a006:: ds $1000
|
||||
|
||||
SECTION "SRAM Mobile 4", SRAM
|
||||
|
||||
s7_a000::
|
||||
s7_a000:: db
|
||||
s7_a001:: db
|
||||
|
||||
ds $800
|
||||
ds $7fe
|
||||
|
||||
s7_a800:: db
|
||||
|
Reference in New Issue
Block a user