SHARE
TWEET

gold any% NSC connection warp

luckytyphlosion Jul 30th, 2018 129 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. no, it isn't possible in less than 7 box names, so characters are spaced out to optimize movement
  2.  
  3. BOX 1 - 6
  4. é d 2 é D 9 'v 7
  5. é [ 'd H . 9
  6. é h 'd H é g 'd
  7. é H 'd 'v é é & 2
  8. H é ] 'd ] é é 4
  9. 'l 'l 'l 'l 'd
  10.  
  11. BOX 14
  12. p p p p 5 'm v 2 (the p p p bit is filler)
  13.  
  14. MUST MANIP 55552-55807 (D9) OR 63744-63999 (F9)
  15.  
  16. pick up coin case from above (IMPORTANT)
  17. walk left 1, up 1, left 2
  18. bellsprout cry
  19. use coin case
  20. walk down, left, up
  21. talk to red (press A)
  22.  
  23. === Sauce Code/Notes ===
  24. ; BOX 1 d8bf-d8c7
  25. ; é d 2 é D 9 'v 7
  26.     ld [$f8a3], a ; make red appear
  27.     ld [$ff83],a ; kill OAM DMA
  28.     sub $fd ; $00 get $03
  29.     db $50
  30.  
  31. ; BOX 2 d8c8-d8d0
  32. ; é [ 'd H . 9
  33.     ld [$d09e], a ; map group
  34.     add a ; $03 get $06
  35.     add sp, $ff ; actually decreases sp by 1. four pops + -1 = 3 pops + 1 inc from pre-2016 box names
  36.     db $50
  37.  
  38. ; BOX 3 d8d1-d8d9
  39. ; é h 'd H é g 'd
  40.     ld [$d0a7], a ; x displacement
  41.     add a ; $06 get $0c
  42.     ld [$d0a6], a ; y displacement
  43.     db $50
  44.  
  45. ; BOX 4 d8da-d8e2
  46. ; é H 'd 'v é é & 2
  47.     ld [$d087], a ; map height for connection warp
  48.     sub $ea ; $0c get $22
  49.     ld [$f8e9], a ; self modify for party count
  50.     db $50
  51.  
  52. ; BOX 5 d8e3-d8eb
  53. ; H é ] 'd ] é é 4
  54.     add a ; $22 get $44
  55.     ld [$d09f], a ; map number
  56.     sbc a ; saves 3 cursor inputs over alternatives (xor a, sub a)
  57.     ld [$faea], a ; party count
  58.     db $50
  59.  
  60. ; BOX 6 d8ec-d8f4
  61. ; 'l 'l 'l 'l 'd
  62.     pop de ; first of four
  63.     pop de ; second
  64.     pop de ; third
  65.     pop de ; fourth
  66.     ret nc
  67.     db $50
  68.  
  69. ; BOX 14 (bootstrap) d934-d93c
  70.  
  71. ; p p p p 5 'm v 2 (the p p p bit is filler)
  72.     xor a
  73.     xor a
  74.     xor a
  75.     xor a ; entry point
  76.     ei ; 1/128 lol
  77.     jp nc, $f8b5 ; jumps into safe code just before box 1 name (almost all nops, one ld bc, xxxx)
  78.  
  79. ; d091 = wMapConnections
  80. ; try wMapWidth = 02
  81.  
  82. ; map: 03:44
  83.  
  84. ; ydisplacement = 0c
  85. ; xdisplacement = 06
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top